Date: 07/12/00
- Next message: Andi Gutmans: "Re: [PHP-DEV] do_declare_property()"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: zend cvs mailing list"
- In reply to: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Next in thread: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Reply: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 12 Jul 2000, 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..
You're missing the point. In Andi's example, you can't know object type
at compilation.
-Andrei
* If it's never finished, you can't prove it doesn't work. *
-- 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: Andi Gutmans: "Re: [PHP-DEV] do_declare_property()"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: zend cvs mailing list"
- In reply to: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Next in thread: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Reply: Mathieu Kooiman (ggInternet): "Re: [PHP-DEV] do_declare_property()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

