summaryrefslogtreecommitdiff
path: root/Zend/tests/add_007.phpt
blob: b2f1559b7a56feda1b303c8c3faac639e38cd380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
adding strings to arrays 
--FILE--
<?php

$a = array(1,2,3);

$s1 = "some string";

$c = $a + $s1;
var_dump($c);

echo "Done\n";
?>
--EXPECTF--	
Fatal error: Unsupported operand types in %s on line %d