ID: 47689 Comment by: peter dot swietoslawski at me dot com Reported By: vr...@php.net Status: Assigned Bug Type: PCRE related Operating System: win32 only PHP Version: 5.*, 6CVS (2009-03-17) Assigned To: pajoye New Comment:
I'm experiencing similar crash on PHP 5.2.9-2, Apache 2.2.11, Vista SP2 if I run simple code like: <?php $content = ' <!-- Book Navigation Start --> <div> <ul class="menu"><li class="collapsed first">Web Services</li> <li class="collapsed">Integration Tools</li> <li class="leaf">Developer Group</li> <li class="leaf last">Developer Forum</li> </ul> <div class="page-links clear-block"> <a href="test/wws" class="page-next" title="Go to next page"> Web Services </a> </div> </div> <!-- Book Navigation End --> '; $pattern = '/<!-- Book Navigation Start -->((.|\s)+)<!-- Book Navigation End -->/i'; preg_match($pattern, $content, $book_nav); ?> However this works fine in PHP 5.2.8 and in CLI for 5.2.9-2. Previous Comments: ------------------------------------------------------------------------ [2009-05-21 20:25:47] paj...@php.net Only wondering which impact has this change, have to test first before to increase the stack. ------------------------------------------------------------------------ [2009-04-25 17:37:45] j...@php.net Pierre, Nuno already gave the solution..? :) ------------------------------------------------------------------------ [2009-04-14 13:56:46] vr...@php.net Same result also with the code pasted here under Apache 2.2. ------------------------------------------------------------------------ [2009-04-14 13:52:16] paj...@php.net > Same result with VC9 TS and 500 lines under CLI. 500 lines? Not using the code you pasted here? ------------------------------------------------------------------------ [2009-04-14 13:42:20] vr...@php.net Same result with VC9 TS and 500 lines under CLI. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/47689 -- Edit this bug report at http://bugs.php.net/?id=47689&edit=1