Re: do_declare_property()

From: Date: Wed, 12 Jul 2000 15:28:14 +0000
Subject: Re: do_declare_property()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-24328@lists.php.net to get a copy of this message
You can request it right? Maybe I'm a bit confused with the compile-time and runtime :) CaPS On Wed, 12 Jul 2000, Andrei Zmievski wrote: > 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@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#24328) next »