mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
16 lines
195 B
PHP
16 lines
195 B
PHP
--TEST--
|
|
subtracting arrays
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = array(1,2,3);
|
|
$b = array(1);
|
|
|
|
$c = $a - $b;
|
|
var_dump($c);
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Unsupported operand types in %s on line %d
|