3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $handle = 0; $c = 8; $i= sprintf('%0'.($c).'d',0); echo $i; if ('' !== ($p=@$i[7])) { echo '/'.$p; } else { echo 'whoops'; } var_dump((array) true);
based on PX8gI
Output for 5.3.23 - 7.3.0rc4
00000000/0array(1) { [0]=> bool(true) }