PHP 4.0 Bug #9551 Updated: False boolen input/output doesn't work

From: Date: Mon, 19 Mar 2001 22:14:20 +0000
Subject: PHP 4.0 Bug #9551 Updated: False boolen input/output doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-49411@lists.php.net to get a copy of this message
ID: 9551 Updated by: phanto Reported By: alain@samoun.net Old-Status: Open Status: Closed Bug Type: COM related Assigned To: Comments: this is not a bug, this is how php handles booleans. try echo gettype($COMOBJ->SetBoolean); or echo (int)$COMOBJ->SetBoolean; and you'll see that all is right :) Previous Comments: --------------------------------------------------------------------------- [2001-03-04 17:11:37] alain@samoun.net $COMOBJ =New COM ("whatever"); $COMOBJ->SetBoolean= False; #Or 0 $Test = $COMOBJ->SetBoolean; Print "test=" . $Test; #$Test="" always empty #Note: Set to True or 1 returns 1 and is OK --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9551&edit=2

« previous php.dev (#49411) next »