Commit Graph

139 Commits

Author SHA1 Message Date
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Jani Taskinen
7bb7cae6a9 - Fix win32 build (I guess..:) 2007-07-16 13:51:41 +00:00
Jani Taskinen
7c44729e41 - Cleanup and simplify 2007-07-16 13:41:12 +00:00
Jani Taskinen
a1fd81368e - Skip these tests always if unicode.semantics=on 2007-07-15 20:03:16 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Jani Taskinen
15ad001163 - Initial commit (files will be moved from elsewhere in CVS!) 2007-07-15 15:40:11 +00:00
Antony Dovgal
b608bd654d fix ws, cs & folding 2007-07-14 08:38:20 +00:00
Jani Taskinen
c4e82d3cb9 MFB: fix warning 2007-07-12 12:12:30 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
d312d33f46 minor improvements 2006-12-28 14:17:09 +00:00
Ilia Alshanetsky
59639f3de7 MFB: Fixed potential use of un-initialized var 2006-10-12 01:05:25 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
0ac2b74b0b - Nuke php3 legacy 2005-12-05 22:53:34 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Wez Furlong
8fdec883ab switch to ansi declaration so that vs.net 2005 groks it. 2005-07-29 23:31:59 +00:00
foobar
db138c59d4 MFB4_4: Fix compile problem with --regex=system on some systems 2005-07-18 23:17:24 +00:00
Andrei Zmievski
3d2944863c Do a cache flush if we detect possible cache corruption (same as for
PCRE).
2005-05-26 21:48:35 +00:00
Antony Dovgal
e511b57e2a fix yet another annoying compile warning 2004-08-13 14:59:58 +00:00
Andi Gutmans
56f8195fe5 - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
  STR_FREE() and zval_dtor() always have to check for it and it slows down
  the general case. In addition, it seems that empty_string has been abused
  quite a lot, and was used not only for setting zval's but generally in
  PHP code instead of "", which wasn't the intention. Last but not least,
  nuking empty_string should improve stability as I doubt every place
  correctly checked if they are not mistakenly erealloc()'ing it or
  calling efree() on it.
  NOTE: Some code is probably broken. Each extension maintainer should
  check and see that my changes are OK. Also, I haven't had time to touch
  PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi
5d3b5cd1c2 Fixed bug #25669 (eregi() with non-ascii characters) 2003-09-30 00:26:03 +00:00
Ilia Alshanetsky
ed40ae2650 emalloc -> safe_emalloc 2003-08-11 23:16:54 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Moriyoshi Koizumi
93b6d05bb8 Forgot to fix this part 2003-02-24 16:54:21 +00:00
Moriyoshi Koizumi
f73f94f258 Fixed a signed / unsigned issue.
# imagine the case like "\\\xfe" where walk[1] takes a value that is greater
# than 127 in integer...
2003-02-24 16:29:00 +00:00
Moriyoshi Koizumi
171fd93840 Style fix 2003-02-24 16:13:13 +00:00
foobar
8e3f23e3c0 ws fixes + missing $Id$ tags, headers added 2003-02-19 08:40:19 +00:00
Moriyoshi Koizumi
7fa0970567 Reverted because correct decision has not been made yet. 2003-01-11 23:05:19 +00:00
Moriyoshi Koizumi
b66b92e996 Reduced warnings in ZE2 build 2003-01-11 22:32:19 +00:00
Moriyoshi Koizumi
380928e6bf Reduced compiler warnings 2003-01-10 04:44:21 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Ilia Alshanetsky
c668055159 Remove pointless checks for array_init() return values. 2002-12-05 22:28:02 +00:00
Marcus Boerger
49a99a98f4 -php_error -> php_error_docref
-removed some cases where emalloc result was tested
2002-12-05 20:59:49 +00:00
Sascha Schumann
2909e5c9c9 centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
2002-10-24 13:15:49 +00:00
Andrei Zmievski
c9b9e63ea3 *** empty log message *** 2002-09-25 17:48:10 +00:00
Andrei Zmievski
27255d7419 Fix bug #17570. 2002-09-25 14:02:34 +00:00
Ilia Alshanetsky
f91b3d5c6d Fixed bug #17957 2002-09-24 16:34:54 +00:00
Zeev Suraski
df4fdeb54e Fix a warning 2002-08-19 20:47:42 +00:00
Andrei Zmievski
a347ed559b Applied fix for #17764.
@- Fixed a crash in ereg_replace() when backreference number was greater
@  than the number of subpatterns. (oliver@billix.franken.de)
2002-06-17 15:10:22 +00:00
Rui Hirokawa
fa1904b6e8 fixed a problem that ereg_replace() couldn't match with line stand/end marker. 2002-05-04 11:20:12 +00:00
foobar
e3cc458d25 - Revert that change. Added a warning about this. 2002-04-08 18:43:35 +00:00
foobar
77c058a06a There's really no point in allowing using the system regex library. 2002-04-08 07:47:17 +00:00
Sascha Schumann
26a92a72f1 unused makefile.in 2002-03-18 14:38:01 +00:00
Yasuo Ohgaki
7bccaefc41 Small memory leak fix that does not matter much. 2002-03-11 07:11:54 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
jim winstead
9a171d03e8 Be more aggressive in making sure that substring matches are valid in
ereg_replace before trying to use them.
# i could have sworn i fixed this in php3. ereg() has similar logic, i
# guess i just missed ereg_replace. fixing this lets
# ext/standard/tests/reg/012.phpt pass on my debian/unstable box
2002-01-05 01:59:11 +00:00
Markus Fischer
7cf14fb1e1 - Fix tiny leak. 2001-12-23 15:56:41 +00:00
Zeev Suraski
431c793e0c Fix a warning 2001-12-22 03:04:32 +00:00