mirror of
https://github.com/php/php-src.git
synced 2026-04-01 13:12:16 +02: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