Re: do_declare_property()
| From: | Andi Gutmans | Date: | Wed, 12 Jul 2000 15:28:31 +0000 |
| Subject: | Re: do_declare_property() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24327@lists.php.net to get a copy of this message | ||
At 17:20 12/07/00 +0200, Mathieu Kooiman (ggInternet) wrote:
You can find the class the object was instanctiated from right? (var_dump an object, you'll see..)Yes and it would be slooooooooow. It should be detectable at compile-time and not run-time. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/class ThisIsAClass { } $ThisIsAnObject = new ThisIsAClass; var_dump($ThisIsAnObject)This is pretty much the same right asfunction foo (class MyObject $obj) { }You could use this in a C function..