3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $p = "1"; if((bool)$p){ echo "setuju"; }else{ echo "tidak setuju"; } echo "<br>"; $p = "0"; if((bool)$p){ echo "setuju"; }else{ echo "tidak setuju"; }
Output for 4.3.0 - 7.1.0
setuju<br>tidak setuju