cvs: php4 /tests/lang 029.phpt

From: Date: Wed, 06 Dec 2000 16:22:03 +0000
Subject: cvs: php4 /tests/lang 029.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2970@lists.php.net to get a copy of this message
waldschrott Wed Dec 6 08:22:03 2000 EDT Added files: /php4/tests/lang 029.phpt Log: added OO test (will fail currently) Index: php4/tests/lang/029.phpt +++ php4/tests/lang/029.phpt --TEST-- OO Bug Test (Bug #7515) --POST-- --GET-- --FILE-- <?php class obj { function method() {} } function test($o_copy) { $o_copy->root->set_in_copied_o=TRUE; var_dump($o_copy);?><BR><?php } $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(); echo ($x==$y) ? 'success':'failure'; ?> --EXPECT-- success

« previous php.cvs (#2970) next »