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.
 
 

23 lines
360 B

--TEST--
parse_str() should not read uninitialized memory when checking for $this
--SKIPIF--
<?php
echo 'skip AOT requires all executable code be in functions';
?>
--FILE--
<?php
function test() {
// strlen("abcd") == 4 is relevant
parse_str('abcd=1', $array);
var_dump($array);
}
test();
?>
--EXPECT--
array(1) {
["abcd"]=>
string(1) "1"
}