You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following test case the second assertion fails because after the setValue call the publicAccessor property of object has the value array('value2' => 'baz') instead of array('value1' => 'foo', 'value2' => 'baz').
@nicolas-grekas
Assigning $zval[self::REF] with the current value after src/Symfony/Component/PropertyAccess/PropertyAccessor.php, Line 153 like below fixes this, but seems a bit brute for the intention of your PR.
Could you please check if this negatively affects your benchmark results?
This behavior has been mentioned in #13731 by @Tobion and fixed in #13835 by @bananer but was reintroduced later (my guess would be #18224 as it introduced the code that replaces the array).
In the following test case the second assertion fails because after the
setValue
call thepublicAccessor
property of object has the valuearray('value2' => 'baz')
instead ofarray('value1' => 'foo', 'value2' => 'baz')
.The text was updated successfully, but these errors were encountered: