diff options
author | Marcus Boerger <helly@php.net> | 2005-02-07 15:16:08 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-02-07 15:16:08 +0000 |
commit | d1fc7ad4d9e498769efb6da57e1292ba1a7c0d39 (patch) | |
tree | 6d9c895b3127cb19082e6f6be2fe0ba43588f9b3 | |
parent | 96610aee0875c8e979559d8490951d28a9ec01b7 (diff) | |
download | php-git-d1fc7ad4d9e498769efb6da57e1292ba1a7c0d39.tar.gz |
- Add new test
-rwxr-xr-x | tests/lang/040.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/lang/040.phpt b/tests/lang/040.phpt new file mode 100755 index 0000000000..6d8ece9679 --- /dev/null +++ b/tests/lang/040.phpt @@ -0,0 +1,15 @@ +--TEST-- +foreach into array +--FILE-- +<?php +$a = array(0,1); +$b[0]=2; +foreach($a as $b[0]) { + echo $b[0]."\n"; +} +?> +===DONE=== +--EXPECT-- +0 +1 +===DONE=== |