Dmitry Stogov
8d2e0a7e0f
Added closures support
2008-07-08 07:05:04 +00:00
Felipe Pena
f7a93a0350
- MFB: zend_arg_defs.c is unnecessary now
2008-06-30 13:47:22 +00:00
Hannes Magnusson
64896ef3f9
MFB5.3: arginfo & fix protos
2008-06-01 18:50:00 +00:00
Nuno Lopes
cc2e43cde1
MFB: fix #44214
2008-03-08 13:14:02 +00:00
Nuno Lopes
2e0b0d8f58
MFB
2008-03-08 11:59:44 +00:00
Felipe Pena
a1e8d340c3
New macro for check void parameters
2008-02-28 14:16:25 +00:00
Felipe Pena
8ce1d11649
MFB: Fixed Bug #44191 (preg_grep messes up array index)
2008-02-20 22:15:53 +00:00
Nuno Lopes
56173a3de8
spread some static keywords
2008-01-25 19:39:45 +00:00
Nuno Lopes
fe197abf66
MFB: fix bug #42945
2008-01-13 14:57:54 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Jani Taskinen
4fc4814012
- Fixed bug #43365 (Several enums have trailing commas)
2007-11-26 10:58:28 +00:00
Nuno Lopes
2514944be8
MFB: fix ZTS build
2007-10-07 12:21:05 +00:00
Nuno Lopes
bbe92ef947
MFB
2007-10-07 12:14:59 +00:00
Nuno Lopes
586bef4291
MFB: fix #37911
2007-10-07 12:09:02 +00:00
Yiduo (David) Wang
95da0dc570
Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:28:44 +00:00
Antony Dovgal
2b17f226b9
if one of regular expressions in the array fails, return NULL right away
...
this fixes "String is not zero-terminated" error and makes the behaviour consistent with regexps passed as strings
2007-09-20 08:10:20 +00:00
Nuno Lopes
b357cf9d9b
MFB: upgrade to PCRE 7.3
2007-09-01 18:01:44 +00:00
Antony Dovgal
41bda78bd2
fix segfault on shutdown due to UG(utf8_conv) being destroyed twice
2007-08-24 12:13:30 +00:00
Antony Dovgal
0209e41563
add PCRE_VERSION constant to ext/pcre
2007-07-24 22:34:17 +00:00
Dmitry Stogov
1604924312
Fixed compilation warnings
2007-07-10 09:57:23 +00:00
Dmitry Stogov
4a49ce8b8f
Fixed preg_replace_callback() with callback defined by array
2007-07-10 09:11:35 +00:00
Dmitry Stogov
0b642b977a
PCRE unicode/binary support
2007-07-06 23:06:51 +00:00
Scott MacVicar
428aec2a9e
Display PCRE ini entries as part of module info
2007-06-12 14:07:42 +00:00
Antony Dovgal
4713e0ab79
fix folding
2007-04-23 10:05:25 +00:00
Antony Dovgal
61d2a8383d
don't emit any warnings in addition to an exception
2007-03-14 23:47:19 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Antony Dovgal
3049d59cba
fix #39112 (typo in error message)
2006-10-10 12:43:34 +00:00
Andrei Zmievski
a567622740
Initialize optional vars.
2006-10-09 19:54:38 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
df68f888ea
leaks--
...
fix test
2006-10-03 21:37:02 +00:00
Antony Dovgal
496ff9808a
fix leak
2006-10-03 21:17:29 +00:00
Antony Dovgal
520ab72e19
don't forget to increase refcount when adding entry to the return_value
2006-10-03 20:42:57 +00:00
Andrei Zmievski
1fd91e40f8
Unicode support in preg_grep().
2006-09-19 20:41:56 +00:00
Andrei Zmievski
723baf6608
Upgrade preg_quote() to support Unicode.
2006-09-19 20:01:10 +00:00
Andrei Zmievski
5066424135
Fix offset calculation in add_offset_pair().
2006-09-19 17:37:48 +00:00
Antony Dovgal
5d42e808a3
fix leak in preg_split()
2006-09-19 11:48:59 +00:00
Andrei Zmievski
30d7168bbd
Upgrade preg_split() to support Unicode strings.
2006-09-18 20:16:36 +00:00
Andrei Zmievski
81b83f327b
More work on Unicode support in PCRE. When UG(unicode) is on, all
...
strings passed to PCRE have to be IS_UNICODE or IS_STRING in UTF-8
encoding. Failure to do so will result in unpredictable results.
2006-09-18 17:59:10 +00:00
Nuno Lopes
408a584d6e
MFB: fix memleak of pcre study data
2006-09-06 16:31:28 +00:00
Antony Dovgal
a0a7595bbf
fix leak, add test
2006-08-30 16:46:23 +00:00
Antony Dovgal
c96c1465d8
add missing addref
...
now it works fine
2006-08-29 22:55:44 +00:00
Andrei Zmievski
de39f4561b
Check for is_utf8.
2006-08-29 22:52:37 +00:00
Andrei Zmievski
ac5c0797d8
More Unicode work.
2006-08-29 22:16:26 +00:00
Andrei Zmievski
ff93bd421b
Add Unicode support for preg_match[_all]
2006-08-28 20:36:50 +00:00
Rob Richards
559937c8a5
tsrmls fix
2006-07-20 22:40:44 +00:00
Marcus Boerger
c2c5201872
- TSRM fixes
2006-07-20 22:07:09 +00:00
Marcus Boerger
8ff86b1e31
- WS
2006-07-20 21:52:40 +00:00
Marcus Boerger
b5b5944ddf
- Clean up (after consulting Andrei)
...
. Change the handlers SPL uses to php_pcre_*_impl(pcre_cache_entry*,....)
. All refactored funcs (match, split, replace, grep) use the above
. Change (zend|php)_error() to php_error_docref()
. Move from old to new param parsing api
. Fix memleaks in unicode mode
2006-07-20 21:19:05 +00:00
Marcus Boerger
ac3a58e52d
- Little bit refactoring: Two new PHPAPI functions:
...
. php_pcre_match
. php_pcre_split
2006-07-16 19:20:05 +00:00