summaryrefslogtreecommitdiff
path: root/tests/php/phpt/variables/029-compare2.phpt
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-08-26 13:08:39 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-08-26 13:08:39 +0200
commitf526c4c7a7ada1ab534ca0976c7b66718b9a5660 (patch)
tree68b4db309ee00d3b7ebc1743b4825057b3db7f28 /tests/php/phpt/variables/029-compare2.phpt
parenta286c34777e48d59410e7511f52f4a6f08000ba3 (diff)
parent97bc6757346d394a4b7d5898983be298e0b0ea98 (diff)
fixed conflict
Diffstat (limited to 'tests/php/phpt/variables/029-compare2.phpt')
-rw-r--r--tests/php/phpt/variables/029-compare2.phpt74
1 files changed, 74 insertions, 0 deletions
diff --git a/tests/php/phpt/variables/029-compare2.phpt b/tests/php/phpt/variables/029-compare2.phpt
new file mode 100644
index 0000000..333ede1
--- /dev/null
+++ b/tests/php/phpt/variables/029-compare2.phpt
@@ -0,0 +1,74 @@
+--TEST--
+Test bool Value::operator< (const Value &value) const
+--SKIPIF--
+<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?>
+--FILEEOF--
+<?php
+
+TestVariables\test_compare2();
+
+--EXPECT--
+false:
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+true:
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+false:
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+Compare array:
+1
+1
+0
+1
+0
+1
+Compare NULL:
+0
+0
+0
+1
+1
+1
+0
+0
+0 \ No newline at end of file