Re: do_declare_property()
| From: | Teodor Cimpoesu | Date: | Wed, 12 Jul 2000 13:13:59 +0000 |
| Subject: | Re: do_declare_property() | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24300@lists.php.net to get a copy of this message | ||
Hi Andi!
On Wed, 12 Jul 2000, Andi Gutmans wrote:
> Yeah but I assume python *knows* what type z is at compile time, right?
>
> Andi
uhm, what for?
Of course it will know it's a class, and when parsing the class def.
the rewrite takes place.
Of course, we don't really need to have `$this->__bar', I though we
can also have
private var $bar', and rewrite the member to _Class__bar'
to ensure it's `privateness'.
-- teodor