1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/ext/xmlreader
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-11-25 17:12:37 +01:00
2014-09-20 18:24:38 +02:00

XMLReader represents a reader that provides non-cached, 
forward-only access to XML data. It is based upon the 
xmlTextReader api from libxml

This extension is designed to only work under PHP 5+.