mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
![]() The implementation of `XMLReader::open()` and `XMLReader::XML()` still supports calling the methods statically and non-statically. However, as of PHP 8.0.0, calling these methods statically is not allowed, because they are not declared as static methods. Since we consider it to be cleaner to call these methods statically, but had deprecated to call them statically, we properly support both variants. We implement support for static and non-static calls by overloading, so that non-static calls have access to the `$this` pointer. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
php_xmlreader.c | ||
php_xmlreader.h | ||
xmlreader.stub.php | ||
xmlreader_arginfo.h |