Re: [PHP-DEV] Calling a class constructor

2008-05-02 Thread Johannes Schlüter
On Fri, 2008-05-02 at 12:03 +0200, Marcus Boerger wrote: > Hello Antony, Johannes, > > seeing this thread I agree. So that makes the list: PCRE, Reflection, SPL. > Johannes? I was under the impression that was already the case for Reflection, so I don't mind. johannes -- PHP Internals - PHP

Re: [PHP-DEV] Calling a class constructor

2008-05-02 Thread Marcus Boerger
Hello Antony, Johannes, seeing this thread I agree. So that makes the list: PCRE, Reflection, SPL. Johannes? Wednesday, April 30, 2008, 9:22:19 PM, you wrote: > On 30.04.2008 23:17, Lars Strojny wrote: >> Hi all, esp. Johannes, >> >> Am Mittwoch, den 30.04.2008, 13:05 -0400 schrieb Sam Barrow:

Re: [PHP-DEV] Calling a class constructor

2008-04-30 Thread Antony Dovgal
On 30.04.2008 23:17, Lars Strojny wrote: Hi all, esp. Johannes, Am Mittwoch, den 30.04.2008, 13:05 -0400 schrieb Sam Barrow: [...] Still, that just seems unnecessary, I usually compile without the reflection stuff because i never use it. I'd like to be able to use this like call_user_func, I'm

Re: [PHP-DEV] Calling a class constructor

2008-04-30 Thread Lars Strojny
Hi all, esp. Johannes, Am Mittwoch, den 30.04.2008, 13:05 -0400 schrieb Sam Barrow: [...] > Still, that just seems unnecessary, I usually compile without the > reflection stuff because i never use it. I'd like to be able to use this > like call_user_func, I'm pretty much doing the same thing. Oh,

Re: [PHP-DEV] Calling a class constructor

2008-04-30 Thread Sam Barrow
On Wed, 2008-04-30 at 19:09 +0200, Hannes Magnusson wrote: > On Wed, Apr 30, 2008 at 6:57 PM, Sam Barrow <[EMAIL PROTECTED]> wrote: > > create_new(string $class, array $constructor_args) > > > > Does anyone else see a need for this? > > No. > Have you considered subscribing to [EMAIL PROTECTED]

Re: [PHP-DEV] Calling a class constructor

2008-04-30 Thread Hannes Magnusson
On Wed, Apr 30, 2008 at 6:57 PM, Sam Barrow <[EMAIL PROTECTED]> wrote: > create_new(string $class, array $constructor_args) > > Does anyone else see a need for this? No. Have you considered subscribing to [EMAIL PROTECTED] Could you please first direct these questions to php-general@ and gather

Re: [PHP-DEV] Calling a class constructor

2008-04-30 Thread Sam Barrow
On Wed, 2008-04-30 at 10:03 -0700, Stanislav Malyshev wrote: > Hi! > > > create_new(string $class, array $constructor_args) > > You can create new object via ReflectionClass::newInstance. Still, that just seems unnecessary, I usually compile without the reflection stuff because i never use it. I

Re: [PHP-DEV] Calling a class constructor

2008-04-30 Thread Stanislav Malyshev
Hi! create_new(string $class, array $constructor_args) You can create new object via ReflectionClass::newInstance. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing