summaryrefslogtreecommitdiff
path: root/tests/lang/operators/bitwiseShiftRight_variationStr2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/operators/bitwiseShiftRight_variationStr2.phpt')
-rw-r--r--tests/lang/operators/bitwiseShiftRight_variationStr2.phpt18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/lang/operators/bitwiseShiftRight_variationStr2.phpt b/tests/lang/operators/bitwiseShiftRight_variationStr2.phpt
new file mode 100644
index 0000000000..db90e1b338
--- /dev/null
+++ b/tests/lang/operators/bitwiseShiftRight_variationStr2.phpt
@@ -0,0 +1,18 @@
+--TEST--
+Test >> operator : numbers as strings, simple
+--FILE--
+<?php
+
+error_reporting(E_ERROR);
+
+var_dump("12" >> "0");
+var_dump("34" >> "1");
+var_dump("56" >> "2");
+
+?>
+===DONE===
+--EXPECT--
+int(12)
+int(17)
+int(14)
+===DONE===