From 7bc500847e3027bb785c5525a21078ff72acc2ab Mon Sep 17 00:00:00 2001 From: valmat Date: Fri, 28 Mar 2014 02:34:51 +0600 Subject: add test: 004-static-funct.phpt (Test class with static function) --- tests/php/dbg.php | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'tests/php/dbg.php') diff --git a/tests/php/dbg.php b/tests/php/dbg.php index b9841c7..9a28fc6 100644 --- a/tests/php/dbg.php +++ b/tests/php/dbg.php @@ -11,38 +11,3 @@ - -//- - -// initialize a couple of objects -$object1 = new TestBaseClass\Comparable(); -$object2 = new TestBaseClass\Comparable(); -$object3 = new TestBaseClass\Comparable(); - -// compare the objects -if ($object1 < $object2) -{ - echo("$object1 is smaller than $object2\n"); -} -else -{ - echo("$object1 is bigger than $object2\n"); -} - -if ($object1 == $object3) -{ - echo("$object1 is equal to $object3\n"); -} -else -{ - echo("$object1 is not equal to $object3\n"); -} - -if ($object1 != $object2) -{ - echo("$object1 is not equal to $object2\n"); -} -else -{ - echo("$object1 is equal to $object2\n"); -} \ No newline at end of file -- cgit v1.2.3