On Thu, 08 Mar 2012 17:51:34 +0100, Michael Morris
wrote
I also don't understand your template argument. Why would you need to
namespace templates? Typically they are included from inside a function
(and therefore don't change/access the global namespace).
You forget that variable scope a
2012/3/8 Sebastian Bergmann :
> Am 08.03.2012 17:05, schrieb Michael Morris:
>> Thoughts?
>
> Sounds pointless/useless to me.
>
> --
> Sebastian Bergmann Co-Founder and Principal Consultant
> http://sebastian-bergmann.de/ http://thePHP.cc/
>
> --
> PHP
2012/3/8 Sebastian Bergmann :
> Am 08.03.2012 17:05, schrieb Michael Morris:
>> Thoughts?
>
> Sounds pointless/useless to me.
>
> --
> Sebastian Bergmann Co-Founder and Principal Consultant
> http://sebastian-bergmann.de/ http://thePHP.cc/
>
> --
> PHP
On Thu, Mar 8, 2012 at 5:30 PM, Sebastian Bergmann wrote:
> Am 08.03.2012 17:05, schrieb Michael Morris:
>> Thoughts?
>
> Sounds pointless/useless to me.
Could you answer more than one liner to RFCs? Even if you totally
disagree with the idea(s) behind it. Thanks.
Cheers,
--
Pierre
@pierrejoy
Am 08.03.2012 17:05, schrieb Michael Morris:
> Thoughts?
Sounds pointless/useless to me.
--
Sebastian BergmannCo-Founder and Principal Consultant
http://sebastian-bergmann.de/ http://thePHP.cc/
--
PHP Internals - PHP Runtime Development Mailing Li
At first glance, this is technically impossible, with regards to our
current resolution rules:
http://php.net/manual/en/language.namespaces.rules.php
Assuming you have an un-namespaced:
class Db {
public function __construct() {
$this->conn = new PDO(..);
}
}
and you require this as:
Michael,
Quick question: how would this work with require_once?
Let's say that I have a class Foo defined in a file without a
namespace declaration.
What happens if I require_once with a namespace first (so Foo gets
imported into the namespace), and then require_once later without a
namespace?
On Thu, 08 Mar 2012 17:05:19 +0100, Michael Morris
wrote:
https://wiki.php.net/rfc/changes_to_include_and_require
Since the reaction to the first of the two suggestions was largely
negative I've withdrawn it for now to focus on the second of the two
changes. In all honestly, these two sugge