Bug #54093 [NEW]: problem error process string
| From: | akbar6393222 at yahoo dot com | Date: | Thu, 24 Feb 2011 16:53:49 +0000 |
| Subject: | Bug #54093 [NEW]: problem error process string | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-159017@lists.php.net to get a copy of this message | ||
From:
Operating system: WinXp, Linux
PHP version: 5.2.17
Package: *Regular Expressions
Bug Type: Bug
Bug description:problem error process string
Description:
------------
# php -ver
PHP 5.2.17 (cli) (built: Jan 7 2011 11:12:15)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend
Technologies
echo ereg_replace("\n"," ","\0R\0e\0g\0 \0a\0s\0k\0e\0s\0");
produce nothing
Test script:
---------------
echo ereg_replace("\n"," ","\0R\0e\0g\0 \0a\0s\0k\0e\0s\0");
Expected result:
----------------
"\0R\0e\0g\0 \0a\0s\0k\0e\0s\0"
Actual result:
--------------
null
--
Edit bug report at http://bugs.php.net/bug.php?id=54093&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54093&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54093&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54093&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54093&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54093&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54093&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54093&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54093&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54093&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54093&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54093&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54093&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54093&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54093&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54093&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54093&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54093&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54093&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54093&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54093&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54093&r=mysqlcfg