Re: Re: dynamic object instances

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Angst wrote:
Eli schrieb:

You're right that using eval() slows.. But using the _init() function as you suggested is actually tricking in a way you move the constructor params to another function, but the initialization params should be sent to the constructor!

I guess that it would be better if PHP will add a possibility to construct a dynamic class with variant number of params... ;-)

If your read my original posting then you would know, that I expicitly asked for a non-eval solution. Because we solved it with an eval too. But I would like to watch for a solution without an eval.

sing it: "

	you can't always get what you want,
	you can'tr always get what ya need,
	I can't get no ... satifaction.

"


thanks anyway
Thomas


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux