php-src/Zend/tests/not_002.phpt
2007-04-28 11:59:08 +00:00

16 lines
197 B
PHP

--TEST--
bitwise NOT and arrays
--FILE--
<?php
$a = array(1,2,3);
$b = array(1,2);
$a = ~$b;
var_dump($a);
echo "Done\n";
?>
--EXPECTF--
Fatal error: Unsupported operand types in %s on line %d