summaryrefslogtreecommitdiff
path: root/tests/lang/foreachLoop.017.phpt
blob: bbc21adaa30343225665dc20457caddae44770ea (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Ensure foreach works with arrays with Binary keys.
--FILE--
<?php
$a = array ( "\x90" => 10 );
foreach ($a as $val=>$key) echo $key;
echo "\nDone\n";
?> 
--EXPECT--
10
Done