/
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/add_004.phpt
--TEST-- adding numbers to arrays --FILE-- <?php $a = array(1,2,3); try { var_dump($a + 5); } catch (Error $e) { echo "\nException: " . $e->getMessage() . "\n"; } $c = $a + 5; var_dump($c); echo "Done\n"; ?> --EXPECTF-- Exception: Unsupported operand types: array + int Fatal error: Uncaught TypeError: Unsupported operand types: array + int in %s:%d Stack trace: #0 {main} thrown in %s on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure