cvs: php4(PHP_4_3) /tests/lang bug19943.phpt
| From: | Jani Taskinen | Date: | Thu, 06 Mar 2003 16:29:15 +0000 |
| Subject: | cvs: php4(PHP_4_3) /tests/lang bug19943.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19417@lists.php.net to get a copy of this message | ||
sniper Thu Mar 6 11:29:15 2003 EDT
Added files: (Branch: PHP_4_3)
/php4/tests/lang bug19943.phpt
Log:
MFH
Index: php4/tests/lang/bug19943.phpt
+++ php4/tests/lang/bug19943.phpt
--TEST--
Bug #19566 (memleaks)
--FILE--
<?php
$ar = array();
for ($count = 0; $count < 10; $count++) {
$ar[$count] = "$count";
$ar[$count]['idx'] = "$count";
}
for ($count = 0; $count < 10; $count++) {
echo $ar[$count]." -- ".$ar[$count]['idx']."\n";
}
?>
--EXPECT--
0 -- 0
1 -- 1
2 -- 2
3 -- 3
4 -- 4
5 -- 5
6 -- 6
7 -- 7
8 -- 8
9 -- 9