php-src/Zend/tests/add_004.phpt
2007-04-28 11:59:08 +00:00

15 lines
185 B
PHP

--TEST--
adding numbers to arrays
--FILE--
<?php
$a = array(1,2,3);
$c = $a + 5;
var_dump($c);
echo "Done\n";
?>
--EXPECTF--
Fatal error: Unsupported operand types in %s on line %d