Re: AUTOLOAD in PHP

From: Date: Fri, 22 Mar 2002 05:21:50 +0000
Subject: Re: AUTOLOAD in PHP
Groups: php.dev 
Request: Send a blank email to php-dev+get-81609@lists.php.net to get a copy of this message
Hi Chris I Intially thought about passing function name as first argument only, but I don't know whether I done it correctly or not, Its not recognizing the argument that I pushed in to argument stack. If you help me in how to do this, it would be really helpful to me. After some two days of trying that, I switched over to this method of passing function name. overload() ---------- When I searched for AUTOLOAD requierment in PHP, I came across overload() function, but its not working for me, even the property overloading, Its seems to be not recognizing __get or __set method. If anything needs to be done for this, please tell me. On Thu, 21 Mar 2002, Chris Adams wrote: > On Thursday, March 21, 2002, at 03:41 , S.Murali Krishna wrote: > > scope, if it finds one, it would set the global variable > > > > $php_undef_func_name > > > > Why not pass the function name as the first parameter? Otherwise, this > looks like some interesting code - I'm looking forward to the overload() > extension to do similar things with object methods and properties. > > Chris > <smk_bk@yahoo.com> ------------------------------------------------------------------- We must use time wisely and forever realize that the time is always ripe to do right." -- Nelson Mandela -------------------------------------------------------------------

« previous php.dev (#81609) next »