cvs: php4 /tests/lang 029.phpt bug7515.phpt

From: Date: Thu, 23 Jan 2003 19:28:39 +0000
Subject: cvs: php4 /tests/lang 029.phpt bug7515.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18114@lists.php.net to get a copy of this message
moriyoshi Thu Jan 23 14:28:39 2003 EDT Added files: /php4/tests/lang bug7515.phpt Removed files: /php4/tests/lang 029.phpt Log: Changed the test's file name as per the convention Index: php4/tests/lang/bug7515.phpt +++ php4/tests/lang/bug7515.phpt --TEST-- Bug #7515 (weired & invisible referencing of objects) --SKIPIF-- <?php if(version_compare(zend_version(), "2.0.0-dev", '<')) echo "skip Zend Engine 2 needed\n"; ?> --INI-- error_reporting=2039 --FILE-- <?php class obj { function method() {} } $o->root=new obj(); ob_start(); var_dump($o); $x=ob_get_contents(); ob_end_clean(); $o->root->method(); ob_start(); var_dump($o); $y=ob_get_contents(); ob_end_clean(); if ($x == $y) { print "success"; } else { print "failure x=$x y=$y "; } ?> --EXPECT-- success

« previous php.cvs (#18114) next »