3v4l.org - online PHP & HHVM shell, execute code in 100+ different versions!

Output for 4.3.1 - 5.5.1
int(2)