not_002.phpt 197 B

123456789101112131415
  1. --TEST--
  2. bitwise NOT and arrays
  3. --FILE--
  4. <?php
  5. $a = array(1,2,3);
  6. $b = array(1,2);
  7. $a = ~$b;
  8. var_dump($a);
  9. echo "Done\n";
  10. ?>
  11. --EXPECTF--
  12. Fatal error: Unsupported operand types in %s on line %d