ID:               37326
 Updated by:       [EMAIL PROTECTED]
 Reported By:      alex at onix-systems dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: WinXP
 PHP Version:      5.1.4
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Not reproducible on Linux.


Previous Comments:
------------------------------------------------------------------------

[2006-05-05 11:02:43] alex at onix-systems dot com

Description:
------------
Can be reproduced on Win32. Works fine on Linux.
Appieared in PHP-5.1.3 ans still exists in PHP-5.1.4

Code works fine if $a < 1560


Reproduce code:
---------------
<?
$value = "";
for( $a=0; $a < 1561; $a++ ) {
        $value .= "t";
}
$res = preg_split(
'/(?:(?:(?:(?<!\\\\)(?:[\\\\](?:[\\\\]{2})*))+[\$])|[^\$])*/', $value
);
?>


Expected result:
----------------
nothing in this example

Actual result:
--------------
PHP crash


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37326&edit=1

Reply via email to