3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $switch = 0; var_dump((int)$switch === 1);
based on ZcCXd
Output for 4.3.0 - 7.2.6
bool(false)