Bug #11627: string '0' treated as empty
| From: | vgo at nrd dot lt | Date: | Sat, 23 Jun 2001 11:54:37 +0000 |
| Subject: | Bug #11627: string '0' treated as empty | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57754@lists.php.net to get a copy of this message | ||
From: vgo@nrd.lt
Operating system: Windows 2000
PHP version: 4.0.5
PHP Bug Type: Unknown/Other Function
Bug description: string '0' treated as empty
the string '0' is not empty but treated as empty
if( empty( '0' ) )
{
}
--
Edit Bug report at: http://bugs.php.net/?id=11627&edit=1