mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
17 lines
210 B
PHP
17 lines
210 B
PHP
--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
|