Bug #62271 [NEW]: test bug - ext/wddx/tests/bug48562.phpt
| From: | mattficken@php.net | Date: | Sat, 09 Jun 2012 01:24:57 +0000 |
| Subject: | Bug #62271 [NEW]: test bug - ext/wddx/tests/bug48562.phpt | ||
| Groups: | php.bugs php.qa | ||
| Request: | Send a blank email to php-bugs+get-171161@lists.php.net to get a copy of this message | ||
From: mattficken
Operating system: Windows
PHP version: 5.4.4RC2
Package: Testing related
Bug Type: Bug
Bug description:test bug - ext/wddx/tests/bug48562.phpt
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 bug report at https://bugs.php.net/bug.php?id=62271&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62271&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62271&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62271&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62271&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62271&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62271&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62271&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62271&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62271&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62271&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62271&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62271&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62271&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62271&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62271&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62271&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62271&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62271&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62271&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62271&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62271&r=mysqlcfg