Edit report at https://bugs.php.net/bug.php?id=62271&edit=1

 ID:                 62271
 Updated by:         a...@php.net
 Reported by:        mattfic...@php.net
 Summary:            test bug - ext/wddx/tests/bug48562.phpt
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Testing related
 Operating System:   Windows
 PHP Version:        5.4.4RC2
-Assigned To:        
+Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2012-06-11 15:05:21] a...@php.net

Automatic comment on behalf of mattficken
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=a18cede1c5094d5255daeb99cd6debe09938399d
Log: Fix bug #62271 test bug - ext/wddx/tests/bug48562.phpt

------------------------------------------------------------------------
[2012-06-09 01:24:57] mattfic...@php.net

Description:
------------
$a['x'] = &$a;

var_dump(wddx_serialize_vars($a));

$a['x'] = 'foo';

The recursion detection seems to be causing $a to be not an array here, maybe 
its 
internally a pointer. 

The patch fixes this problem on 5_4 rd24d5b6. The test passes on 5_3.

Actual result:
--------------
003+ 
004+ Warning: Illegal string offset 'x' in C:\php-sdk\php-test-pack-5.4-nts-
windows-vc9-x86-rd24d5b6\ext\wddx\tests\bug48562.php on line 11


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62271&edit=1

Reply via email to