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:
25
tests/lang/bug19943.phpt
Normal file
25
tests/lang/bug19943.phpt
Normal 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
|
||||
Reference in New Issue
Block a user