diff options
Diffstat (limited to 'tests/lang/foreach_with_object_001.phpt')
-rwxr-xr-x | tests/lang/foreach_with_object_001.phpt | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/lang/foreach_with_object_001.phpt b/tests/lang/foreach_with_object_001.phpt deleted file mode 100755 index 598b844fb7..0000000000 --- a/tests/lang/foreach_with_object_001.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -foreach() with foreach($o->mthd()->arr) ---FILE-- -<?php -class Test { - public $a = array(1,2,3,4,5); // removed, crash too - function c() { - return new Test(); - } - -} -$obj = new Test(); -foreach ($obj->c()->a as $value) { - print "$value\n"; -} - -?> -===DONE=== ---EXPECT-- -1 -2 -3 -4 -5 -===DONE=== |