You can sort of fake it using the call handler of the overload extension. -Rasmus
On Thu, 21 Feb 2002, Mika Tuupola wrote: > > Is there a way to create/add methods runtime to a class via > constructor or static factory method? I know it is possible > to create functions runtime using eval() or create_function() > but I havent been able to make them appear as methods for > a class. > > -- > Mika Tuupola http://www.appelsiini.net/~tuupola/ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php