Re: [PHP] Does Scope-Resolution Operator Always Follow 'parent'?

2013-03-11 Thread David Harkness
Hi Eric, On Sun, Mar 10, 2013 at 8:21 PM, Eric James Michael Ritz lobbyjo...@gmail.com wrote: I have a question about the `parent` keyword: is there any valid situation where it can appear without the `::` operator following? I wouldn't have thought it possible, but I just found one case

[PHP] Does Scope-Resolution Operator Always Follow 'parent'?

2013-03-10 Thread Eric James Michael Ritz
Hello everyone, I have a question about the `parent` keyword: is there any valid situation where it can appear without the `::` operator following? I am asking to fix a bug in php-mode[1] for GNU Emacs. Consider the following code: echo $parent; echo parent::$foo; echo