Bug #1135: When using str_replace() to insert "-" or "." it crashes.
| From: | enjenco at tutus dot se | Date: | Wed, 10 Feb 1999 10:13:09 +0000 |
| Subject: | Bug #1135: When using str_replace() to insert "-" or "." it crashes. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4020@lists.php.net to get a copy of this message | ||
From: enjenco@tutus.se
Operating system: FreeBSD
PHP version: 3.0.6
PHP Bug Type: Reproduceable crash
Bug description: When using str_replace() to insert "-" or "." it crashes.
<script language="php">
$Alias = "This.is.a.test";
$Alias =
str_replace("004712",".",str_replace(".","004712",$Alias));
</script>
Apache 1.3.4 error_log:
httpd in realloc(): warning: chunk is already free.
httpd: [Wed Feb 10 10:41:07 1999] [notice] child pid 6585 exit signal Segmentation fault (11)
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net