mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Registering namespace after the parsing is too late because parsing can fail due to attributes referencing namespaces. So we have to register fake namespaces before the parsing. However, the clone operation reconciles namespaces in the wrong way, so we have to clone via an object. Closes GH-21371.