Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37368 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92346 invoked from network); 30 Apr 2008 17:03:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2008 17:03:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:40417] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/E6-55591-866A8184 for ; Wed, 30 Apr 2008 13:03:37 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Apr 2008 20:04:28 +0300 Received: from [192.168.16.217] ([192.168.16.217]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Apr 2008 10:04:25 -0700 Message-ID: <4818A661.5000902@zend.com> Date: Wed, 30 Apr 2008 10:03:29 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Sam Barrow CC: internals@lists.php.net References: <1209574661.19653.5.camel@sbarrow-desktop> In-Reply-To: <1209574661.19653.5.camel@sbarrow-desktop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Apr 2008 17:04:25.0303 (UTC) FILETIME=[3E35AE70:01C8AAE4] Subject: Re: [PHP-DEV] Calling a class constructor From: stas@zend.com (Stanislav Malyshev) 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