Bug #5772 Updated: if ("" == "0") inconsistent behavior on IIS 4.0

From: Date: Mon, 24 Jul 2000 22:43:33 +0000
Subject: Bug #5772 Updated: if ("" == "0") inconsistent behavior on IIS 4.0
Groups: php.dev 
Request: Send a blank email to php-dev+get-25895@lists.php.net to get a copy of this message
ID: 5772 Updated by: joey Reported By: steve@teamits.com Status: Feedback Bug Type: Misbehaving function Assigned To: Comments: The CGI on both win32 and Unix returns the same for me using this test. Instead of this workaround you have invented, why not use: if (strpos(strtolower($line), '</body') !== FALSE) { (Which I'd venture a guess is already being used, in one form or another, on the Unix box) Double check and make sure that the Unix and the NT box really are using the same code, and one is not using === ( or a variant thereof ) Full Bug description available at: http://bugs.php.net/?id=5772

« previous php.dev (#25895) next »