TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
263 B

--TEST--
compact() and hashmap order
--FILE--
<?php
$foo = null;
$bar = null;
var_dump(compact('foo', 'bar'));
var_dump(compact('bar', 'foo'));
?>
--EXPECT--
array(2) {
["foo"]=>
NULL
["bar"]=>
NULL
}
array(2) {
["bar"]=>
NULL
["foo"]=>
NULL
}