cvs: php-src /ext/standard/tests/serialize bug31402.phpt

From: Date: Fri, 11 Mar 2005 00:22:28 +0000
Subject: cvs: php-src /ext/standard/tests/serialize bug31402.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30855@lists.php.net to get a copy of this message
helly Thu Mar 10 19:22:28 2005 EDT Modified files: /php-src/ext/standard/tests/serialize bug31402.phpt Log: - Times have changed - php 5 relevant version now http://cvs.php.net/diff.php/php-src/ext/standard/tests/serialize/bug31402.phpt?r1=1.2&r2=1.3&ty=u Index: php-src/ext/standard/tests/serialize/bug31402.phpt diff -u php-src/ext/standard/tests/serialize/bug31402.phpt:1.2 php-src/ext/standard/tests/serialize/bug31402.phpt:1.3 --- php-src/ext/standard/tests/serialize/bug31402.phpt:1.2 Thu Mar 10 19:11:35 2005 +++ php-src/ext/standard/tests/serialize/bug31402.phpt Thu Mar 10 19:22:28 2005 @@ -19,7 +19,8 @@ function __construct() { $this->A[1] = new TestX(1); - $this->A[2] = new TestX(2); + $this->A[2] = & new TestX(2); + $this->A[3] = & $this->A[2]; $this->B = $this->A[1]; } } @@ -31,17 +32,23 @@ var_dump($before, $after); ?> +===DONE=== --EXPECTF-- object(TestY)#%d (2) { ["A"]=> - array(2) { + array(3) { [1]=> object(TestX)#%d (1) { ["i"]=> int(1) } [2]=> - object(TestX)#%d (1) { + &object(TestX)#%d (1) { + ["i"]=> + int(2) + } + [3]=> + &object(TestX)#%d (1) { ["i"]=> int(2) } @@ -54,21 +61,27 @@ } object(TestY)#%d (2) { ["A"]=> - array(2) { + array(3) { [1]=> - &object(TestX)#%d (1) { + object(TestX)#%d (1) { ["i"]=> int(1) } [2]=> - object(TestX)#%d (1) { + &object(TestX)#%d (1) { + ["i"]=> + int(2) + } + [3]=> + &object(TestX)#%d (1) { ["i"]=> int(2) } } ["B"]=> - &object(TestX)#%d (1) { + object(TestX)#%d (1) { ["i"]=> int(1) } } +===DONE===

« previous php.cvs (#30855) next »