Can someone tell me ...
| From: | John Coggeshall | Date: | Wed, 24 Aug 2005 18:15:59 +0000 |
| Subject: | Can someone tell me ... | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-18373@lists.php.net to get a copy of this message | ||
Why this crashes:
php -r 'class a { function b() { return $this->b(); }} $c = new a(); $c-
>b();'
and this does not?
php -r 'function a() { return a(); }'