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.
 
 

18 lines
409 B

--TEST--
Bug #32021 (Crash caused by range('', 'z'))
--SKIPIF--
--FILE--
<?php
$foo = range('', 'z');
var_dump($foo);
echo "DONE\n";
?>
--EXPECTF--
%s: Argument #1 ($start) must not be empty, casted to 0 in %s on line %d
%s: Argument #1 ($start) must be a single byte string if argument #2 ($end) is a single byte string, argument #2 ($end) converted to 0 in %s on line %d
array(1) {
[0]=>
int(0)
}
DONE