]> granicus.if.org Git - php/commit
Fix construction of AO with overloaded object error
authorNikita Popov <nikic@php.net>
Wed, 24 Feb 2016 21:31:17 +0000 (22:31 +0100)
committerNikita Popov <nikic@php.net>
Wed, 24 Feb 2016 21:34:50 +0000 (22:34 +0100)
commitfd561505f4142730684eacaba6f0ac5f293a8f0e
tree0ef033e3cdc16fb7b16bcc7edf9d1342077825d1
parent0aa716381643c2746ddef019681e762d4e3f4233
Fix construction of AO with overloaded object error

a) Fix uses of zend_string in error message
b) Don't assign the overloaded object as the backing storage, that
   sort of defeats the point. Instead leave the previous value.
ext/spl/spl_array.c
ext/spl/tests/ArrayObject_overloaded_object_incompatible.phpt [new file with mode: 0644]