Hello Lars, Wednesday, August 13, 2008, 11:55:23 AM, you wrote:
> Hi Markus, > Am Dienstag, den 12.08.2008, 22:51 +0200 schrieb Marcus Boerger: > [...] >> a) Prevent include/require inside namespaced functions. >> >> Patch: php-no-include-in-namespaced-functions-6.0-20080812.diff.txt >> >> Should pretty much work. > So this means something like this won't work without a warning anymore? > namespace Foo; > class View > { > public function render($file) > { > include $file; > } > } > [...] > cu, Lars Namespaces are new, so it never worked before. But yes, this would trigger a warning in the compiler which means you are told to not do this with apc or other compiler caches. marcus marcus Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php