note 9695 added to Types

From: Date: Sun, 19 Nov 2000 19:38:22 +0000
Subject: note 9695 added to Types
Groups: php.notes 
Request: Send a blank email to php-notes+get-7903@lists.php.net to get a copy of this message
While C++ does use keywords true and false to denote boolean values, the compiler still thinks in terms of "true=1" and "false=0". Thus the following block is valid C++: bool tf; tf = 1; // tf is true tf = 0; // tf is false http://www.php.net/manual/language.types.php

« previous php.notes (#7903) next »