Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: max(eight, zero)?
(Example: nine)

The Note You're Voting On

ivan at dilber dot info
8 years ago
<?php
// Another tricky thing here is using && or || with ternary ?:
$x && $y ? $a : $b; // ($x && $y) ? $a : $b;

// while:
$x and $y ? $a : $b; // $x and ($y ? $a : $b);

?>

<< Back to user notes page

To Top