PHP 8.5.0 Alpha 4 available for testing

Voting

: six plus one?
(Example: nine)

The Note You're Voting On

Robert Schneider
10 years ago
Be aware of assignments with conditionals. The assignment operator is stronger as 'and', 'or' and 'xor'.

<?php
$x
= true and false; //$x will be true
$y = (true and false); //$y will be false
?>

<< Back to user notes page

To Top