On Thu, 2007-02-08 at 18:36 +0100, Youri LACAN-BARTLEY wrote:
> Tim wrote:
> > First thank you all for your input on "all-in-one" classes.
> >
> > Reading the php manual on boolean types and casts, and came accros the
> > following:
> >
> >
> > When converting to boolean, the following values ar
Tim wrote:
First thank you all for your input on "all-in-one" classes.
Reading the php manual on boolean types and casts, and came accros the
following:
When converting to boolean, the following values are considered FALSE:
...
an array with zero elements
...
So here I am sitting and wond
sorry typo, make that:
> Shouldn't have been simply doing:
>
> $arr = array();
> If (!$arr) {}
> -Message d'origine-
> De : Tim [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 8 février 2007 16:49
> À : php-general@lists.php.net
> Objet : [PHP] Boolean-cast and arrays
>
> First thank you a
3 matches
Mail list logo