Is it possible to create an object from a clas which name is in a variable.
Example: (doesn't work)
$object = new ${$classname};
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it possible to create an object from a clas which name is in a variable.
Example: (doesn't work)
$object = new ${$classname};
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php