not_002.phpt 197 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--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