3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = "1"; echo $x; // will output "1" $y = str_pad($x, 2, "0", STR_PAD_LEFT); echo $y; // will output "01"
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.2.0
101
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/YbUcg on line 6
Process exited with code 255.