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
..
tests Add tests to XMLReader::expand error paths 2017-10-19 11:55:31 +01:00
config.m4 Fix long-standing visual pain point: the misalignment of './configure help' text. 2013-08-06 11:06:09 -07:00
config.w32 improve searchability for libxml2 headers 2015-05-10 22:22:03 +02:00
CREDITS
php_xmlreader.c Add zend_object_alloc() API 2017-11-25 17:12:37 +01:00
php_xmlreader.h Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
README Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
TODO Reverts some unwanted changes 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+.