From: marcel at korton dot nl
Operating system: win XP
PHP version: 5.0.0RC1
PHP Bug Type: Strings related
Bug description: Access Violation
Description:
------------
str_ireplace gives an unexpected result
Reproduce code:
---------------
<?php
$strResult = '/*<B>i see this</B>*/';
echo $strResult;
$strResult = str_ireplace('/*<B>', '<B>', $strResult );
echo $strResult;
?>
Expected result:
----------------
<B>i see this</B>*/'
Actual result:
--------------
PHP has encountered an Access Violation at 00CB7C21/*i see this*/
--
Edit bug report at http://bugs.php.net/?id=27675&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27675&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27675&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27675&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27675&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27675&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27675&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27675&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27675&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27675&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27675&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27675&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27675&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27675&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27675&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27675&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27675&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27675&r=float