RE: [PHP] Mixed return type - boolean and array/resource/closure or object
| From: | Robert Stoll | Date: | Tue, 04 Mar 2014 09:45:28 +0000 |
| Subject: | RE: [PHP] Mixed return type - boolean and array/resource/closure or object | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323022@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Jim Lucas [mailto:lists@cmsws.com]
> Sent: Tuesday, March 04, 2014 1:45 AM
> To: Robert Stoll; php-general@lists.php.net
> Subject: Re: [PHP] Mixed return type - boolean and array/resource/closure or object
>
> On 03/03/2014 03:10 PM, Robert Stoll wrote:
> > Heya,
> >
> > I would like to know if a PHP built-in function/method exists which returns one of the
> > following combinations
> > - a boolean or an array
> > - a boolean or a resource
> > - a boolean or a closure
> > - a boolean or an object
> >
> > I searched in the language manual, but it is quite hard to be honest since there is not
> > really an overview.
> > Please get back to me if you are certain that there is not such a function/method or give
> > me an example if there is
one.
> >
> > Cheers,
> > Robert
>
> What is it you are trying to do?
>
> --
> Jim Lucas
>
> http://www.cmsws.com/
> http://www.cmsws.com/examples/
I need the information for my project Type-Safe PHP => http://tsphp.ch