mirror of
https://github.com/php/php-src.git
synced 2024-12-17 13:59:28 +08:00
cdb7aafc23
The SEPARATE_ARG_IF_REF macro increased the refcount of the object passed as a key. However, when the key did not exist in the ArrayAccess implementation, the code returned early without trying to decrement the refcount. Add a test of `??` succeeding+failing on a SplObjectStorage instance. |
||
---|---|---|
.. | ||
examples | ||
internal | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
doxygen.cfg | ||
package.xml | ||
php_spl.c | ||
php_spl.h | ||
README | ||
spl_array.c | ||
spl_array.h | ||
spl_directory.c | ||
spl_directory.h | ||
spl_dllist.c | ||
spl_dllist.h | ||
spl_engine.c | ||
spl_engine.h | ||
spl_exceptions.c | ||
spl_exceptions.h | ||
spl_fixedarray.c | ||
spl_fixedarray.h | ||
spl_functions.c | ||
spl_functions.h | ||
spl_heap.c | ||
spl_heap.h | ||
spl_iterators.c | ||
spl_iterators.h | ||
spl_observer.c | ||
spl_observer.h | ||
spl.php | ||
TODO |
This is an extension that aims to implement some efficient data access interfaces and classes. You'll find the classes documented using php code in the file spl.php or in the corresponding .inc file in the examples subdirectory. Based on the internal implementations or the files in the examples subdirectory there are also some .php files to experiment with. For more information look at: http://php.net/manual/en/book.spl.php