add_007.phpt 210 B

12345678910111213141516
  1. --TEST--
  2. adding strings to arrays
  3. --FILE--
  4. <?php
  5. $a = array(1,2,3);
  6. $s1 = "some string";
  7. $c = $a + $s1;
  8. var_dump($c);
  9. echo "Done\n";
  10. ?>
  11. --EXPECTF--
  12. Fatal error: Unsupported operand types in %s on line %d