3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 0; $d = 0.0; $x = 01; var_dump($i); var_dump($d); var_dump($x); echo var_export($i); echo var_export($d); echo var_export($x);
based on FZMeK
Output for 7.0.2 - 7.2.0
int(0) float(0) int(1) 00.01
Output for 5.3.18 - 7.0.1
int(0) float(0) int(1) 001