[dev] Re: [cvs] commit: imp folders.php

Chuck Hagenbuch chuck at horde.org
Sat Feb 8 23:52:28 PST 2003


Quoting Jan Schneider <jan at horde.org>:

>   Log:
>   This value is -1 under certain circumstances, so empty() won't work
> here.

I don't understand:


PHP Code:

$foo = -1;
var_dump(!empty($foo));

Result:

bool(true)


-chuck

--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*


More information about the dev mailing list