- Output for 8.3.0 - 8.3.6
- Warning: Increment on type bool has no effect, this will change in the next major version of PHP in /in/4jmXk on line 5 false
- Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
- false
<?php
$foo = 1 && 2 && 1 && 0;
$foo++;
echo ($foo === false) ? 'false' : 'true';