From: andre at softexpert dot com Operating system: W2k PHP version: 4.2.3 PHP Bug Type: Reproducible crash Bug description: problem with strtr(), 100% of CPU use
When using strtr() passing a number as first parameter, and an array that
contains ("" => "anything"), php.exe uses 100% of CPU and stays running
until IIS return a CGI Time limit.
Example:
echo strtr(10, array("" => "a"));
--
Edit bug report at http://bugs.php.net/?id=22533&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22533&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22533&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22533&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22533&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22533&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22533&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22533&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22533&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22533&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22533&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22533&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22533&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22533&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22533&r=gnused
