]> granicus.if.org Git - php/commit
@- Fixed a bug in preg_split() that would incorrectly limit the number of
authorAndrei Zmievski <andrei@php.net>
Fri, 4 May 2001 16:43:53 +0000 (16:43 +0000)
committerAndrei Zmievski <andrei@php.net>
Fri, 4 May 2001 16:43:53 +0000 (16:43 +0000)
commit0eecec77735027264d79e9f55a6a802b9cc93d22
tree9e68745e5b348bb286e134b742bff4c30675c85b
parenta085b708e12af1aa512831f3dbbd4842f9520bfb
@- Fixed a bug in preg_split() that would incorrectly limit the number of
@  results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)

- Fixed a bug in preg_split() that would incorrectly limit the number of
  results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
- Also made limit = -1 when limit = 0, to emulate Perl.
ext/pcre/php_pcre.c