mirror of
https://github.com/php/php-src.git
synced 2024-12-24 01:09:58 +08:00
15 lines
185 B
PHP
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
|