xref: /PHP-5.4/Zend/tests/add_004.phpt (revision c3b9d939)
1--TEST--
2adding numbers to arrays
3--FILE--
4<?php
5
6$a = array(1,2,3);
7
8$c = $a + 5;
9var_dump($c);
10
11echo "Done\n";
12?>
13--EXPECTF--
14Fatal error: Unsupported operand types in %s on line %d
15