Re: [PHP-DEV] Re: how to instantiate new object

2012-05-02 Thread Johannes Schlüter
On Wed, 2012-05-02 at 13:27 +0800, Laruence wrote: > On Wed, May 2, 2012 at 1:16 PM, Yader Hernandez > wrote: > > On Tue, May 1, 2012 at 8:46 PM, Yader Hernandez > > wrote: > > > >> Hello, > >> > >> I was wondering how to create a new object from a function call? > >> > >> By this I mean if I call

Re: [PHP-DEV] Re: how to instantiate new object

2012-05-01 Thread Laruence
BTW: you should write to pecl-dev ML for such questions. thanks On Wed, May 2, 2012 at 1:28 PM, Laruence wrote: > On Wed, May 2, 2012 at 1:27 PM, Laruence wrote: >> On Wed, May 2, 2012 at 1:16 PM, Yader Hernandez >> wrote: >>> On Tue, May 1, 2012 at 8:46 PM, Yader Hernandez >>> wrote: >>> >>>

Re: [PHP-DEV] Re: how to instantiate new object

2012-05-01 Thread Laruence
On Wed, May 2, 2012 at 1:27 PM, Laruence wrote: > On Wed, May 2, 2012 at 1:16 PM, Yader Hernandez > wrote: >> On Tue, May 1, 2012 at 8:46 PM, Yader Hernandez >> wrote: >> >>> Hello, >>> >>> I was wondering how to create a new object from a function call? >>> >>> By this I mean if I call foo() fro

Re: [PHP-DEV] Re: how to instantiate new object

2012-05-01 Thread Laruence
On Wed, May 2, 2012 at 1:16 PM, Yader Hernandez wrote: > On Tue, May 1, 2012 at 8:46 PM, Yader Hernandez > wrote: > >> Hello, >> >> I was wondering how to create a new object from a function call? >> >> By this I mean if I call foo() from a script, that should return a new >> instance of an object

[PHP-DEV] Re: how to instantiate new object

2012-05-01 Thread Yader Hernandez
On Tue, May 1, 2012 at 8:46 PM, Yader Hernandez wrote: > Hello, > > I was wondering how to create a new object from a function call? > > By this I mean if I call foo() from a script, that should return a new > instance of an object. If I call foo() again, it should be a new instance > of an object