Date: 03/30/99
- Next message: eschmid: "[PHP-DEV] CVS update: php3/doc/functions"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3/doc/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: email <email protected>
Operating system: NT 4.0 sp3
PHP version: 3.0.6
PHP Bug Type: Reproduceable crash
Bug description: str_replace causes emalloc() error
<?
/*
Generated error FATAL: emalloc(): Unable to allocate -n bytes
Error occures as long as the haystack is 8 characters AND
the needle is more then 1 character AND the needle is not found
in the haystack.
*/
print str_replace("d1","","12345678");
?>
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: eschmid: "[PHP-DEV] CVS update: php3/doc/functions"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3/doc/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

