1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 18:22:42 +01:00
Files
archived-php-src/ext/spl
Nikita Popov b72b1a4e4d Add zend_object_alloc() API
Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.

Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.
2017-11-25 17:12:37 +01:00
..
2017-06-23 07:53:00 +01:00
2017-09-20 15:54:07 +02:00
2017-08-09 11:29:46 +08:00
2017-01-04 11:23:42 -06:00
2017-11-25 17:12:37 +01:00
2017-01-04 11:23:42 -06:00
2017-11-25 17:12:37 +01:00
2017-11-25 17:12:37 +01:00
2017-01-04 11:23:42 -06:00
2017-01-04 11:23:42 -06:00
2017-01-04 11:23:42 -06:00
2017-11-25 17:12:37 +01:00
2017-11-25 17:12:37 +01:00
2017-01-04 11:23:42 -06:00
2017-11-25 17:12:37 +01:00
2017-10-06 01:34:50 +03:00

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