mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
d6315c2fbb
Instead of make update_op1_by_const supports FETCH_LIST(CASE), I think disable it is more safe for 7.1
25 lines
377 B
PHP
25 lines
377 B
PHP
--TEST--
|
|
Bug #74456 (Segmentation error while running a script in CLI mode)
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
|
|
function small_numbers() {
|
|
return [0,1,2];
|
|
}
|
|
|
|
list ($zero, $one, $two) = small_numbers();
|
|
|
|
var_dump($zero, $one, $two);
|
|
?>
|
|
--EXPECT--
|
|
int(0)
|
|
int(1)
|
|
int(2)
|