ID:               30818
 Updated by:       [EMAIL PROTECTED]
 Reported By:      neil dot r dot haslewood at web dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         CGI related
 Operating System: Windows XP Pro (SP2 build 2600)
 PHP Version:      5.0.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip




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

[2004-11-17 21:43:08] neil dot r dot haslewood at web dot de

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



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


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

Reply via email to