Re: Inconsistencies in 5.3
| From: | Lars Strojny | Date: | Wed, 13 Aug 2008 09:55:23 +0000 |
| Subject: | Re: Inconsistencies in 5.3 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39915@lists.php.net to get a copy of this message | ||
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
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc