3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (wyrazenie-logiczne) { ?> <strong>prawda </strong> <?php } else { ?> <strong>fałsz </strong> <?php } ?>
based on b6ciM
Output for 7.2.0
Warning: Use of undefined constant wyrazenie - assumed 'wyrazenie' (this will throw an Error in a future version of PHP) in /in/P8f5g on line 2 Warning: Use of undefined constant logiczne - assumed 'logiczne' (this will throw an Error in a future version of PHP) in /in/P8f5g on line 2 Warning: A non-numeric value encountered in /in/P8f5g on line 2 Warning: A non-numeric value encountered in /in/P8f5g on line 2 <strong>fałsz </strong>
Output for 7.1.0 - 7.1.10
Notice: Use of undefined constant wyrazenie - assumed 'wyrazenie' in /in/P8f5g on line 2 Notice: Use of undefined constant logiczne - assumed 'logiczne' in /in/P8f5g on line 2 Warning: A non-numeric value encountered in /in/P8f5g on line 2 Warning: A non-numeric value encountered in /in/P8f5g on line 2 <strong>fałsz </strong>
Output for 5.3.20 - 7.0.20
Notice: Use of undefined constant wyrazenie - assumed 'wyrazenie' in /in/P8f5g on line 2 Notice: Use of undefined constant logiczne - assumed 'logiczne' in /in/P8f5g on line 2 <strong>fałsz </strong>