1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00

This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.

This commit is contained in:
SVN Migration
2003-03-06 16:29:06 +00:00
parent 41ab6de3aa
commit d391faffe6

25
tests/lang/bug19943.phpt Normal file
View File

@@ -0,0 +1,25 @@
--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