Date: 09/30/00
- Next message: Matthew Hagerty: "Re: [PHP-DEV] PHP 4.0 Bug #6956 Updated: empty( "0" ) returns true"
- Previous message: chris <email protected>: "[PHP-DEV] PHP 4.0 Bug #6957: Zend strlen function gets re-defined"
- Next in thread: Matthew Hagerty: "Re: [PHP-DEV] PHP 4.0 Bug #6956 Updated: empty( "0" ) returns true"
- Reply: Matthew Hagerty: "Re: [PHP-DEV] PHP 4.0 Bug #6956 Updated: empty( "0" ) returns true"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6956
Updated by: sbergmann
Reported By: sb <email protected>
Status: Closed
Bug Type: Variables related
Assigned To:
Comments:
Dear Sebastian,
please read the manual entry on empty().
Yours,
Sebastian
Previous Comments:
---------------------------------------------------------------------------
[2000-09-29 23:54:57] sb <email protected>
The following script
<?php
$str = "0";
print empty( $str );
?>
outputs "true". Is this a bug or a feature?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6956
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Matthew Hagerty: "Re: [PHP-DEV] PHP 4.0 Bug #6956 Updated: empty( "0" ) returns true"
- Previous message: chris <email protected>: "[PHP-DEV] PHP 4.0 Bug #6957: Zend strlen function gets re-defined"
- Next in thread: Matthew Hagerty: "Re: [PHP-DEV] PHP 4.0 Bug #6956 Updated: empty( "0" ) returns true"
- Reply: Matthew Hagerty: "Re: [PHP-DEV] PHP 4.0 Bug #6956 Updated: empty( "0" ) returns true"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

