From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.1.2
PHP Bug Type:     PCRE related
Bug description:  Problems with strings containing \x00

The PCRE has problems with strings containing 0x00. It stops reading as if
the strings were \0 terminated. This affects all preg_* functions.

Examples:

  preg_match("/\x00/", "foo");
  preg_match("/" . chr(0) . "/", "foo");

Raises the error "Warning: No ending delimiter '/' found"
-- 
Edit bug report at http://bugs.php.net/?id=16590&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16590&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16590&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16590&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16590&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16590&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16590&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16590&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16590&r=submittedtwice

Reply via email to