3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $qty = 0.0; $qty2 = 0; echo (bool) $qty; echo (bool) $qty2;
Output for 4.3.0 - 7.1.0