cvs: php-src /ext/standard/tests/strings bug27276.phpt

From: Date: Mon, 23 Feb 2004 19:45:17 +0000
Subject: cvs: php-src /ext/standard/tests/strings bug27276.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-26360@lists.php.net to get a copy of this message
derick Mon Feb 23 14:45:17 2004 EDT Added files: /php-src/ext/standard/tests/strings bug27276.phpt Log: - Added testcase for bug #27276 http://cvs.php.net/co.php/php-src/ext/standard/tests/strings/bug27276.phpt?r=1.1&p=1 Index: php-src/ext/standard/tests/strings/bug27276.phpt +++ php-src/ext/standard/tests/strings/bug27276.phpt --TEST-- Bug #27276 (str_replace tries to use obscene amounts of ram) --FILE-- <?php ini_set("memory_limit", "12m"); $replacement = str_repeat("x", 12444); $string = str_repeat("x", 9432); $key = "{BLURPS}"; str_replace($key, $replacement, $string); echo "Alive!\n"; ?> --EXPECT-- Alive!

« previous php.cvs (#26360) next »