[PHP-DEV] Does PHP allow $obj-get(this)-set(hello);

2001-10-21 Thread Geoff Hibble
Help, I get a syntax error on $obj-get(this)-set(hello); where class H { var $v = null; function H () { } function set($val) { $this-v = $val; } } class OBJ { var $a = null; function OBJ() { $this-a = array(); } function get($name) { return $this-a[$name]; }

Re: [PHP-DEV] Does PHP allow $obj-get(this)-set(hello);

2001-10-21 Thread Zeev Suraski
No, it doesn't. A future version will... At 19:10 21-10-01, Geoff Hibble wrote: Help, I get a syntax error on $obj-get(this)-set(hello); where class H { var $v = null; function H () { } function set($val) { $this-v = $val; } } class OBJ { var $a = null; function

Re: [PHP-DEV] Does PHP allow $obj-get(this)-set(hello);

2001-10-21 Thread Geoff Hibble
Does anyone know the correct technical name for this so I can keep an eye out for it in the future releases? Thanks --Geoff Zeev Suraski wrote: No, it doesn't. A future version will... At 19:10 21-10-01, Geoff Hibble wrote: Help, I get a syntax error on $obj-get(this)-set(hello);