From d0d062b4a05a9eb64b8d2e6d038af96ac532e4b3 Mon Sep 17 00:00:00 2001 From: valmat Date: Thu, 27 Mar 2014 01:19:12 +0600 Subject: Added new tests. Due to support zts broke the ability to run tests without installation - fixed. --- .../phpt/variables/007-overloaded-operators.phpt | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 tests/php/phpt/variables/007-overloaded-operators.phpt (limited to 'tests/php/phpt/variables/007-overloaded-operators.phpt') diff --git a/tests/php/phpt/variables/007-overloaded-operators.phpt b/tests/php/phpt/variables/007-overloaded-operators.phpt new file mode 100644 index 0000000..a26b1a4 --- /dev/null +++ b/tests/php/phpt/variables/007-overloaded-operators.phpt @@ -0,0 +1,51 @@ +--TEST-- +Test Php::Value overloaded operators +--DESCRIPTION-- + +Many different operators are overloaded too so that you can use a Php::Value object directly in arithmetric operations, +compare it with other variables, or send it to an output stream. + + +--SKIPIF-- + +--FILEEOF-- + 100 +130 +122 +16048.5 +1.05306 +-990 +-998 +-122216 +-8.01944 +value == 'some string' +10 +2 +1234.5 +0.0810045 \ No newline at end of file -- cgit v1.2.3