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