Re: ignored patches

From: Date: Tue, 04 Dec 2007 23:24:13 +0000
Subject: Re: ignored patches
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-33698@lists.php.net to get a copy of this message
Martin Alterisio wrote: > 2007/12/4, Chuck Hagenbuch <chuck@horde.org>: >> Quoting Martin Alterisio <malterisio777@gmail.com>: >> >>> Knowing that I'll have to strongly encourage the developers to dump that >>> patch. The namespace declaration shouldn't do more than what it's >> expected >>> to do. Why this: >>> >>> namespace yadayada; >>> import yadayada; >>> >>> Should work different that: >>> >>> import yadayada; >>> namespace yadayada; >> Why is this an issue for you? That second example is currently a parse >> error - the namespace declaration must be the first thing in the file, >> so the order is significant now. > > > It's an issue since it's something the patch will allow if implemented. Martin, Please stop spreading misinformation. The patch will *not* allow that. It will allow: <?php namespace Blah; import yadayada; ... namespace Foo; import yadayada; ?> <?php import yadayada; namespace Blah; ?> is still a parse error. At least get your facts straight before posting. Greg

« previous php.internals (#33698) next »