PHP 4.0 Bug #5469 Updated: null string tests equal to integer zero

From: Date: Sat, 08 Jul 2000 22:00:52 +0000
Subject: PHP 4.0 Bug #5469 Updated: null string tests equal to integer zero
Groups: php.dev 
Request: Send a blank email to php-dev+get-23837@lists.php.net to get a copy of this message
ID: 5469 User Update by: bill@rsv.ricoh.com Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Description: null string tests equal to integer zero The '==' operator tests numerical equality REGARDLESS OF TYPE, hence the results are correct. The '===' operator tests equality of value AND type, and would yield the desired results here. Full Bug description available at: http://bugs.php.net/?id=5469

« previous php.dev (#23837) next »