Wrong Namespace scope when using PhpFrontend
__halt_compiler()instruction in combination with the require mechanism used by the PhpFrontend can cause classes originally being in a global scope to be loaded in the namespace of the last class which has been loaded by the PhpFrontend.
This seems to be a bug in PHP, but until now we were not able to isolate it and write a separate exploit.
[+BUGFIX] FLOW3 (Cache): Work around PHP __halt_compiler() namespaces bug
The PhpFrontend added a __halt_compiler() instruction to the end of each
cache file to ignore following meta data needed by the cache framework.
This resulted in wrong namespace scopes for certain - originally global -
Instead of __halt_compiler() we now use a simple "#" comment which should
work equally fine with the current kind of metadata we are using.