Hi all.

I don't know if this has been implemented yet.

Is it possible to make the '.' period character act 
place of the '->' character pair in class references, 
without conflicting with the '.' concatenation character?

Possibly would have to implement the two styles of 
referencing to allow for backward compatibility?

So, instead of writing: $this->my_var, one could then write
$this.my_var, which would be alot more in common with other 
OOP languages.

Maybe it's me, but I find it alot easier to read and 
pronounce '$this.my_var' == $this dot my_var, 

than something like 

'$this->my_var' == $this right-arrow my_var

Or, even some other single character that may be used 
instead of the '->' pair. Any suggestions please?

Regards - Keith Roberts

http://www.karsites.net/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to