Re: ignored patches

From: Date: Tue, 04 Dec 2007 19:05:23 +0000
Subject: Re: ignored patches
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-33679@lists.php.net to get a copy of this message
Martin Alterisio wrote: > It's also not possible to reliably bundle files even if you could have > multiple namespaces declarations as, correct me if I'm wrong, import > statements affect the whole file, there is no way to "unimport", a > name clash could still occur. OK, I'll correct you: you're wrong. The patch resets import at each namespace declaration. Each chunk (as far as namespace and import declarations) acts as its own file. global variables, constants, and everything else that would carry over from file to file if included continues to function normally. The point of the patch is that it functions the same way as separate or as 1 file. Greg

« previous php.internals (#33679) next »