/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/bug73663_2.phpt
--TEST-- Bug #73663.2 ("Invalid opcode 65/16/8" occurs with a variable created with list()) --FILE-- <?php function change(&$ref) { $ref = range(1, 10); return; } $array = [1]; change(list($val) = $array); var_dump($array); ?> --EXPECTF-- Fatal error: Uncaught Error: change(): Argument #1 ($ref) cannot be passed by reference in %s:%d Stack trace: #0 {main} thrown in %s on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure