tony2001 Tue Aug 1 08:39:11 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/tests/lang bug35239.phpt
Log:
fix test (but it still fails)
http://cvs.php.net/viewvc.cgi/php-src/tests/lang/bug35239.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/tests/lang/bug35239.phpt
diff -u php-src/tests/lang/bug35239.phpt:1.1.2.1
php-src/tests/lang/bug35239.phpt:1.1.2.2
--- php-src/tests/lang/bug35239.phpt:1.1.2.1 Fri May 19 11:17:53 2006
+++ php-src/tests/lang/bug35239.phpt Tue Aug 1 08:39:11 2006
@@ -10,16 +10,16 @@
$a->x0->y0 = 'b';
var_dump($a);
$a->x0->y1 = "ok\n";
-echo $a->x0;
+var_dump($a->x0);
?>
--EXPECT--
-object(stdClass)#1 (1) {
+object(stdClass)(1) {
["x0"]=>
- &object(stdClass)#2 (3) {
+ &object(stdClass)(3) {
["y0"]=>
string(1) "b"
["y1"]=>
- &object(stdClass)#2 (3) {
+ &object(stdClass)(3) {
["y0"]=>
string(1) "b"
["y1"]=>
@@ -28,7 +28,7 @@
*RECURSION*
}
["y2"]=>
- &object(stdClass)#2 (3) {
+ &object(stdClass)(3) {
["y0"]=>
string(1) "b"
["y1"]=>
@@ -38,4 +38,4 @@
}
}
}
-ok
+string(2) "ok"
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php