ID:               48907
 Updated by:       j...@php.net
 Reported By:      sworddragon2 at aol dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         PCRE related
 Operating System: Windows XP Professional SP3
 PHP Version:      5.3.0
 New Comment:

Exactly what PHP version are you using? This works fine on both 5.2.10
and 5.3.0 for me..


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

[2009-07-13 19:35:00] sworddragon2 at aol dot com

Description:
------------
I found a regular expression with which i can restart the apache
service with the notification: [notice] Parent: child process exited
with status 3221225477 -- Restarting. I'm using Apache 2.2.11.

Reproduce code:
---------------
<?php
preg_replace('#a((?:.|\n)*?)a#','a$1a','a11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111a');
?>

Expected result:
----------------
I expected that preg_replace() repaces the string.

Actual result:
--------------
Apache restarts with the above message an Firefox 3.5 tells me that the
connection to the server was recessed.


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


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

Reply via email to