Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Xinchen Hui
fa1883de19
Omitted GCC warning "comparison is always false"
2011-08-12 07:47:03 +00:00
Rasmus Lerdorf
c70aa9436a
These naked strcpy()s scare me
2011-08-07 00:18:38 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Kalle Sommer Nielsen
a6adb25d85
Eliminate a TSRMLS_FETCH() call in case of an error in one of the ereg functions
2010-09-23 04:51:02 +00:00
Kalle Sommer Nielsen
1cabc8cd3a
Allow ereg to be built as shared on Windows
...
## I know that we may remove ereg in trunk, but since the core doesn't depend on
## ereg, then I don't see any reason not to allow this
2010-05-24 07:44:00 +00:00
Kalle Sommer Nielsen
7ef4cdf471
Remove a couple TSRMLS_FETCH() calls around ext/main/sapi
2010-04-13 11:02:15 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Scott MacVicar
4044f880e8
MFH: Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here.
2009-05-28 21:57:24 +00:00
Ilia Alshanetsky
9ce52853c7
Simplify parameter parsing
2009-01-08 00:37:39 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
1881091e0f
- Deprecate ereg
2008-11-18 17:55:07 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Felipe Pena
7319fb687e
- New parameter parsing API
2008-06-21 18:16:02 +00:00
Felipe Pena
408bb1e48d
- Better error message
2008-04-20 01:44:16 +00:00
Felipe Pena
e3040a0815
MFB: Fixed bug #44678 (spliti error message includes wrong function name)
2008-04-09 13:51:09 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Jani Taskinen
aa3eee1dce
MFH:- Moved the old regex functions to own extension: ereg
2007-10-05 15:00:09 +00:00
Jani Taskinen
c77bcba737
- Remove ereg/ from PHP_5_2 branch. (not yet wanted here :)
2007-07-15 19:43:06 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Antony Dovgal
fdfa403388
MFH
2006-12-28 14:17:38 +00:00
Marcus Boerger
5a69b29082
- Warning fixes by Steph
2006-02-26 10:57:00 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
d0a54af4c5
MFH: Nuke php3 legacy
2005-12-05 22:54:01 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +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
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
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +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
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
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