49aa101879
It needs to convert the key to a real TypedValue, and needs to side exit (via throw).
12 linhas
152 B
PHP
12 linhas
152 B
PHP
<?php
|
|
|
|
function test($a, $f) {
|
|
$a[0] = $f;
|
|
$a[$f] = $f;
|
|
$a[1] = 1;
|
|
$a['foo'] = 'foo';
|
|
return $a;
|
|
}
|
|
|
|
var_dump(test("", "f".isset($g)?"x":""));
|