ID: 9551 Updated by: phanto Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] $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 -- 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]