1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-php-src/Zend/tests/sub_001.phpt
Antony Dovgal c3b9d939e0 add new tests
2007-04-28 11:59:08 +00:00

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