From bc4e9efef764a44c0322587bef8c3eff14da1b74 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 11 May 2006 14:18:34 +0000 Subject: [PATCH] add new test --- Zend/tests/objects_001.phpt | 60 +++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Zend/tests/objects_001.phpt diff --git a/Zend/tests/objects_001.phpt b/Zend/tests/objects_001.phpt new file mode 100644 index 0000000000..5cdc3dded0 --- /dev/null +++ b/Zend/tests/objects_001.phpt @@ -0,0 +1,60 @@ +--TEST-- +comparing objects to other types +--FILE-- + +--EXPECTF-- +bool(false) +bool(true) +bool(true) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) + +Notice: Object of class Bar could not be converted to int in %s on line %d +bool(false) + +Notice: Object of class Bar could not be converted to int in %s on line %d +bool(true) + +Notice: Object of class Bar could not be converted to int in %s on line %d +bool(true) + +Notice: Object of class Bar could not be converted to int in %s on line %d +bool(false) + +Notice: Object of class Bar could not be converted to double in %s on line %d +bool(true) + +Notice: Object of class Bar could not be converted to double in %s on line %d +bool(false) + +Notice: Object of class Bar could not be converted to int in %s on line %d +bool(true) +Done -- 2.50.1