mirror of
https://github.com/php/php-src.git
synced 2026-03-25 16:52:18 +01:00
It needs to be "object". This is because first- and third-party extension can register custom node types using `php_libxml_register_export`. So we don't know upfront what types can be expected. This also changes the error to a TypeError everywhere.
2.8 KiB
2.8 KiB