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, true)); var_dump(var_export($d, true)); var_dump(var_export($x, true));
based on 77auc
Output for 7.0.2 - 7.2.0
int(0) float(0) int(1) string(1) "0" string(3) "0.0" string(1) "1"
Output for 5.3.18 - 7.0.1
int(0) float(0) int(1) string(1) "0" string(1) "0" string(1) "1"