Re: using zend_parse_parameters to get an object of an externally defined class

From: Date: Fri, 28 Sep 2007 11:21:46 +0000
Subject: Re: using zend_parse_parameters to get an object of an externally defined class
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-32490@lists.php.net to get a copy of this message
alon wrote: > A newbie question: > > How can I use zend_parse_parameters to accept object of an external class as > parametr. > > I want for example to build a method that accepts 'DateTime' objects. > But how do I initiate the zend_class_entry to specify an object of the > DateTime class? The class entry pointer or a function which returns it needs to be exported by the datetime API. IIRC that's not the case ATM. -- Michael

« previous php.internals (#32490) next »