3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 1; switch(true) { case $x === '1': echo 'string'; break; case $x === 1: echo 'int'; break; }
Output for 4.3.0 - 7.1.7
int