diff options
Diffstat (limited to 'tests/php/phpt/variables/029-compare2.phpt')
-rw-r--r-- | tests/php/phpt/variables/029-compare2.phpt | 74 |
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 |