Date: 07/12/00
- Next message: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] do_declare_property()"
- In reply to: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Next in thread: Teodor Cimpoesu: "Re: [PHP-DEV] do_declare_property()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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..)
>
> class ThisIsAClass { }
> $ThisIsAnObject = new ThisIsAClass;
> var_dump($ThisIsAnObject)
>
>This is pretty much the same right as
> function foo (class MyObject $obj) { }
>
>You could use this in a C function..
Yes and it would be slooooooooow.
It should be detectable at compile-time and not run-time.
Andi
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] do_declare_property()"
- In reply to: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Next in thread: Teodor Cimpoesu: "Re: [PHP-DEV] do_declare_property()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

