summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-06-18 02:06:31 +0000
committerfoobar <sniper@php.net>2005-06-18 02:06:31 +0000
commitf2ddefcc56e232b0fee4ece1112cdb45dadf4905 (patch)
treed3c19395c5cc586866d37862d74f71871a58a4bf /ext/standard
parent0964cd270e0ec8beb77e652122a3ef1b5d722b61 (diff)
downloadphp-git-f2ddefcc56e232b0fee4ece1112cdb45dadf4905.tar.gz
- This is no bug.
Diffstat (limited to 'ext/standard')
-rwxr-xr-xext/standard/tests/array/bug29992.phpt44
1 files changed, 0 insertions, 44 deletions
diff --git a/ext/standard/tests/array/bug29992.phpt b/ext/standard/tests/array/bug29992.phpt
deleted file mode 100755
index 74be291891..0000000000
--- a/ext/standard/tests/array/bug29992.phpt
+++ /dev/null
@@ -1,44 +0,0 @@
---TEST--
-Bug #29992 (foreach by reference corrupts the array)
---FILE--
-<?php
-
-$array = array(1,2,3);
-
-print_r($array);
-
-foreach($array as $item) var_dump($item);
-foreach($array as &$item) var_dump($item);
-foreach($array as &$item) var_dump($item);
-foreach($array as $item) var_dump($item);
-
-print_r($array);
-
-?>
-===DONE===
---EXPECT--
-Array
-(
- [0] => 1
- [1] => 2
- [2] => 3
-)
-int(1)
-int(2)
-int(3)
-int(1)
-int(2)
-int(3)
-int(1)
-int(2)
-int(3)
-int(1)
-int(2)
-int(3)
-Array
-(
- [0] => 1
- [1] => 2
- [2] => 3
-)
-===DONE===