[PHP-DEV] Double-Colon Always Follows the 'parent' Keyword?

2013-03-11 Thread Eric James Michael Ritz
Hello everyone, I have a question about the internals of PHP, but this is not about advancing the development of the language, so I apologize if this is on the wrong list. I am choosing to post to this list because I believe the people here are most qualified to answer my question. This is

Re: [PHP-DEV] Double-Colon Always Follows the 'parent' Keyword?

2013-03-11 Thread Ángel González
On 11/03/13 12:19, Eric James Michael Ritz wrote: Hello everyone, I have a question about the internals of PHP, but this is not about advancing the development of the language, so I apologize if this is on the wrong list. I am choosing to post to this list because I believe the people here

Re: [PHP-DEV] Double-Colon Always Follows the 'parent' Keyword?

2013-03-11 Thread Eric James Michael Ritz
On 03/11/2013 08:19 AM, Ángel González wrote: On 11/03/13 12:19, Eric James Michael Ritz wrote: [...] This is what I want to know: Is there any valid situation in PHP where the ‘parent’ keyword is not followed by the scope-resolution operator? I am asking to help me decide on the best way

Re: [PHP-DEV] Double-Colon Always Follows the 'parent' Keyword?

2013-03-11 Thread Kalle Sommer Nielsen
Hi Den 11/03/2013 kl. 13.55 skrev Eric James Michael Ritz lobbyjo...@gmail.com: Thanks for the idea. Checking for brackets would work but not whitespace since PHP allows programmers to write code such as echo $this- parent;// Same as $this- Technically parent and self is not

Re: [PHP-DEV] Double-Colon Always Follows the 'parent' Keyword?

2013-03-11 Thread Nikita Popov
On Mon, Mar 11, 2013 at 12:19 PM, Eric James Michael Ritz lobbyjo...@gmail.com wrote: Hello everyone, I have a question about the internals of PHP, but this is not about advancing the development of the language, so I apologize if this is on the wrong list. I am choosing to post to this