Re: Calling a class constructor
| From: | Stanislav Malyshev | Date: | Wed, 30 Apr 2008 17:03:29 +0000 |
| Subject: | Re: Calling a class constructor | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37368@lists.php.net to get a copy of this message | ||
Hi!
create_new(string $class, array $constructor_args)You can create new object via ReflectionClass::newInstance. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com