ID: 11627 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Unknown/Other Function Operating system: PHP Version: 4.0.5 Assigned To: Comments: Yes, this is intentional. Check the manual page for it: http://www.php.net/empty Previous Comments: --------------------------------------------------------------------------- [2001-06-23 07:54:37] [EMAIL PROTECTED] the string '0' is not empty but treated as empty if( empty( '0' ) ) { } --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11627&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]