xref: /PHP-7.1/tests/lang/foreachLoop.017.phpt (revision 7af945e2)
1--TEST--
2Ensure foreach works with arrays with Binary keys.
3--FILE--
4<?php
5$a = array ( "\x90" => 10 );
6foreach ($a as $val=>$key) echo $key;
7echo "\nDone\n";
8?>
9--EXPECTF--
1010
11Done
12