sniper Thu Mar 6 11:29:05 2003 EDT Added files: /php4/tests/lang bug19943.phpt Log: added test for the memleak part from bug #19943
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 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php