Patch bug48562.patch.txt for Testing related Bug #62271
Patch version 2012-06-09 01:24 UTCReturn to Bug #62271 | Download this patch
--- a/ext/wddx/tests/bug48562.phpt Thu Jun 07 21:52:17 2012 +++ b/ext/wddx/tests/bug48562.phpt Fri Jun 08 18:13:32 2012 @@ -16,6 +16,12 @@ var_dump(wddx_serialize_vars($a)); +// replace $a - the recursion detection seems to be causing $a to be not an array here, maybe its internally a pointer +// replacing $a with a new array() allows this test to still check for 2 things +// 1. recursion detection in &$a; +// 2. recursion detection in adding $a to itself and then serializing $a +// the one thing the test won't check is using $a as an array after doing &$a; which isn't really a wddx problem. +$a = array(); $a['x'] = 'foo'; $a['x'] = $a;
Copyright © 2001-2017 The PHP Group
All rights reserved.
|Last updated: Tue Aug 29 15:01:52 2017 UTC|