note 127152 deleted from language.types.boolean by crell
| From: | crell@php.net | Date: | Thu, 02 Jun 2022 14:19:23 +0000 |
| Subject: | note 127152 deleted from language.types.boolean by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218552@lists.php.net to get a copy of this message | ||
Note Submitter: Salohiddin Abruyev
----
<?php
$x = 19;
$y = 21;
// the value of this variable is true
$z = ($x > $y) || ($x < $y);
var_dump($z);
echo '<br />';
// the value of this variable is false
$z = ($x > $y) || !($x < $y);
var_dump($z);