Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | (PHP preg_replace) Fix to allow proper escaping of captured subpattern | Andrei Zmievski | 2000-12-22 | 1 | -48/+66 | |
| | | | | | | references in the replacement string. (PHP array_sum) Check that argument is an array. | |||||
* | Heads up people! | Zeev Suraski | 2000-12-22 | 1 | -4/+2 | |
| | | | | | | Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok... | |||||
* | Oh man, gcc's logic is really flawed | Sascha Schumann | 2000-11-27 | 1 | -3/+1 | |
| | ||||||
* | Kill a warning (code is correct) | Sascha Schumann | 2000-11-27 | 1 | -0/+2 | |
| | ||||||
* | Fix the arg array size. | Andrei Zmievski | 2000-11-24 | 1 | -1/+1 | |
| | ||||||
* | This submission introduces two features. | Andrei Zmievski | 2000-11-23 | 1 | -20/+101 | |
| | | | | | | | | | | | | | | | | | | | | The first one is support for Perl-style matching regexp delimiters, i.e. using <[{( and )}]> to delimit the regular expressions. The second one is a new 'F' modifier that allows you to specify a function name in the replacement argument to preg_replace(). This function will be called when the replacement needs to be made. It is passed an array of full matched pattern and captured subpatterns and it is expected to return a string that will be used for replacement. 'e' and 'F' modifiers cannot be used together. @- Implemented support for Perl-style matching regexp delimiters in PCRE. @ You can use <{[( and )]}> to delimit your expressions now. (Andrei) @- Introduced new 'F' modifier in PCRE that lets you specify a function @ name in the replacement argument to preg_replace() that will be called @ at run-time to provide the replacement string. It is passed an array of @ matched pattern and subpatterns. (Andrei) | |||||
* | - Modified preg_replace() to take Perl-style $1 backreferences in addition | Andrei Zmievski | 2000-11-15 | 1 | -12/+24 | |
| | | | | | | | to \\n ones. - Modified preg_grep() to always return the results with the keys from the original array. | |||||
* | @- Modified preg_replace() to ignore backreferences that refer to | Andrei Zmievski | 2000-11-13 | 1 | -15/+24 | |
| | | | | | @ non-existing subpatterns. (Andrei) | |||||
* | Fixed bug #6740. | Andrei Zmievski | 2000-09-14 | 1 | -2/+8 | |
| | | | | | | | | | I happen to think that this is php_addslashes() problem, not PCRE's. When 0 is passed for the length of the string to php_addslashes() it assumes that we want to process the whole string and happily runs strlen() on it. That is bad. It should respect the length and return an empty string if it's 0. | |||||
* | - Made eval() and several other runtime-evaluated code portions report the | Zeev Suraski | 2000-09-12 | 1 | -1/+5 | |
| | | | | | nature and location of errors more accurately (Stas) | |||||
* | @- Fixed a bug in preg_replace() that would truncate subject string if the | Andrei Zmievski | 2000-08-25 | 1 | -0/+1 | |
| | | | | | | | @ first argument was en empty array. (Andrei) This fixes bug #6346, that would truncate subject string if the first argument was en empty array. | |||||
* | @- Fixed a bug that did not respect limit parameter in preg_replace() when | Andrei Zmievski | 2000-08-24 | 1 | -3/+4 | |
| | | | | | @ using /e modifier. (Andrei) | |||||
* | Reverting the pemalloc -> malloc change until we figure out why it breaks. | Andrei Zmievski | 2000-08-17 | 1 | -2/+2 | |
| | ||||||
* | No need to have persistent allocation. | Andrei Zmievski | 2000-08-17 | 1 | -2/+2 | |
| | ||||||
* | # There you go, Wico. | Andrei Zmievski | 2000-07-20 | 1 | -1/+5 | |
| | | | | | | | Fix bug $5676. @- Fixed preg_replace() to automatically escape quotes in matched @ strings when using /e modifier. (Andrei) | |||||
* | Typo. | Andrei Zmievski | 2000-06-30 | 1 | -4/+4 | |
| | ||||||
* | @- Added an optional parameter to preg_replace() that can be used to | Andrei Zmievski | 2000-06-28 | 1 | -12/+24 | |
| | | | | | @ specify how many replacements to make. (Andrei) | |||||
* | @- Upgraded PCRE to version 3.2 and fixed a bug when anchored pattern | Andrei Zmievski | 2000-06-12 | 1 | -5/+5 | |
| | | | | | @ matched an empty string. (Andrei) | |||||
* | One more place. | Andrei Zmievski | 2000-06-10 | 1 | -0/+1 | |
| | ||||||
* | Terminate the string with '\0'. | Andrei Zmievski | 2000-06-10 | 1 | -0/+1 | |
| | ||||||
* | - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch | Andi Gutmans | 2000-06-05 | 1 | -7/+7 | |
| | ||||||
* | @- Cleaned up PCRE extension and made it binary-safe. (Andrei) | Andrei Zmievski | 2000-06-01 | 1 | -88/+88 | |
| | ||||||
* | Update proto. | Andrei Zmievski | 2000-05-25 | 1 | -2/+2 | |
| | ||||||
* | @- Added second argument to preg_quote() which allows quoting of | Andrei Zmievski | 2000-05-25 | 1 | -2/+19 | |
| | | | | | @ one additional character, usually the regex delimiter. (Andrei) | |||||
* | Use #ifdef COMPILE_DL_EXTNAME solely. | Sascha Schumann | 2000-05-23 | 1 | -1/+1 | |
| | ||||||
* | Update the license with the new clause 6 | Zeev Suraski | 2000-05-18 | 1 | -2/+2 | |
| | ||||||
* | Fixes for possible failure of zend_eval_string(). | Andrei Zmievski | 2000-05-06 | 1 | -1/+4 | |
| | ||||||
* | #if COMPILE_DL | Sascha Schumann | 2000-05-02 | 1 | -1/+1 | |
| | | | | | | | becomes #if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME) | |||||
* | Replace the various get_module() functions with a uniform | Sascha Schumann | 2000-05-02 | 1 | -1/+1 | |
| | | | | | ZEND_GET_MODULE(name) macro. | |||||
* | Improved in-tree shared libraries build system | Sascha Schumann | 2000-05-01 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following new/revived shared modules are available now: ... MySQL (*) ... PCRE (*) ... Session ... SWF (*) capable of using bundled library or external library All changes: The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now. This effectively means that all extensions have to use dynlib. ext/mysql/config.m4 was revamped. Uses LIB_BUILD for building bundled library. ext/pcre/config.m4 was revamped. Uses LIB_BUILD for building bundled library. ext/ext_skel was changed to reflect that more modules should be compileable as shared module. ext/Makefile.in has been simplified enormously. Dependencies are now stored in the build tree. Empty dependencies are not generated by buildconf anymore. They are now dynamically created during the build process. Implicit rules for .S were removed. The NO_RECURSION feature was removed. "libs.mk" has been added to all cvsignore files in ext. | |||||
* | @Added substr_count() from Peter Kovacs. (Andrei) | Andrei Zmievski | 2000-04-26 | 1 | -0/+1 | |
| | | | | | # also some todo stuff | |||||
* | phpinfo() prettying | Colin Viebrock | 2000-04-06 | 1 | -0/+1 | |
| | ||||||
* | phpinfo() prettying | Colin Viebrock | 2000-04-05 | 1 | -5/+4 | |
| | ||||||
* | Change extension names in all extensions' zend_module_entry to their | Stig Bakken | 2000-03-06 | 1 | -1/+1 | |
| | | | | | directory name. | |||||
* | Fix bug #3599. | Andrei Zmievski | 2000-02-24 | 1 | -1/+1 | |
| | ||||||
* | More protos. | Egon Schmid | 2000-02-23 | 1 | -4/+4 | |
| | ||||||
* | the pipe is breaking all the time | Zeev Suraski | 2000-02-19 | 1 | -2/+2 | |
| | ||||||
* | Cleanup patches | Zeev Suraski | 2000-02-05 | 1 | -2/+0 | |
| | ||||||
* | Destructors no longer return ints, the low level problem it was intended to ↵ | Zeev Suraski | 2000-01-17 | 1 | -2/+1 | |
| | | | | solve is long gone now... | |||||
* | Another idea I had today. | Andrei Zmievski | 2000-01-15 | 1 | -0/+1 | |
| | ||||||
* | Happy Y2K patch! Happy new year (or the new millennium, depending on whether | Sascha Schumann | 2000-01-01 | 1 | -1/+1 | |
| | | | | | you start counting at 0 or 1). | |||||
* | Change ALLOC_ZVAL() semantics | Zeev Suraski | 1999-12-26 | 1 | -2/+2 | |
| | ||||||
* | - Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much | Andi Gutmans | 1999-12-24 | 1 | -2/+2 | |
| | | | | | | more tricky and I'm not sure how many places this is. zval allocations were only made directly in 11 places. | |||||
* | (PHP preg_quote) Made binary-safe. | Andrei Zmievski | 1999-12-20 | 1 | -4/+7 | |
| | | | | | @ Made preg_quote() binary-safe. (Andrei) | |||||
* | - The tree compiles again | Zeev Suraski | 1999-12-18 | 1 | -7/+7 | |
| | ||||||
* | Need to check for __inet_aton on Solaris. | Andrei Zmievski | 1999-12-07 | 1 | -1/+1 | |
| | ||||||
* | Add another item. | Andrei Zmievski | 1999-12-06 | 1 | -0/+2 | |
| | ||||||
* | Fix some warnings | Sascha Schumann | 1999-12-05 | 1 | -2/+2 | |
| | ||||||
* | Clean up php3.*\.h files. The files itself are renamed, and references in all | Sascha Schumann | 1999-12-04 | 1 | -1/+1 | |
| | | | | | | .*\.[ch] files were changed. There is a slight chance that my script missed a few changes, please correct them manually. | |||||
* | (PHP preg_replace) Fixed a bug that cause backreferences to lose | Andrei Zmievski | 1999-11-19 | 1 | -1/+1 | |
| | | | | | their value after the first occurrence. |