summaryrefslogtreecommitdiff
path: root/Zend/tests/not_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/not_002.phpt')
-rw-r--r--Zend/tests/not_002.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Zend/tests/not_002.phpt b/Zend/tests/not_002.phpt
new file mode 100644
index 0000000..df27772
--- /dev/null
+++ b/Zend/tests/not_002.phpt
@@ -0,0 +1,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