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); var_dump(var_export($i)); var_dump(var_export($d)); var_dump(var_export($x));
based on XYC79
Output for 7.0.2 - 7.2.0
int(0) float(0) int(1) 0NULL 0.0NULL 1NULL
Output for 5.3.18 - 7.0.1
int(0) float(0) int(1) 0NULL 0NULL 1NULL