|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-11 23:38 UTC] tony2001@php.net
[2005-02-19 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 03:00:02 2025 UTC |
Description: ------------ cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" PHP API 20031224 PHP Extension 20040412 Tried enclosed from command line and encountered the following several times: Windows Error Report Popup states: 'CLI has encountered a problem and needs to close' Visual C++ debugger traps error: 'Unhandled exception in php.exe (PHP5TS.DLL): 0xC0000005: Access Violation' Reproduce code: --------------- C:\Documents and Settings\Me>php -a Interactive mode enabled <?php $s1 = 'ababab abab ab ab'; $s2 = "abbaaab bbaab aaba"; $r = "/^((ab)+\s)*(ab)+$/"; if(preg_match($r, $s1)){ echo "$s1 valid"; } else{ echo "$s2 invalid"; } ababab abab ab ab valid Windows Error Report Popup then reveals: 'CLI has encountered a problem and needs to close' Visual C debugger traps error Expected result: ---------------- $s1 valid