3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;
based on E1I7F
Output for 7.2.0
7.2
Output for 7.1.0 - 7.1.10
7.1
Output for 7.0.0 - 7.0.20
7.0
Output for 5.6.8 - 5.6.28
5.6
Output for 5.5.24 - 5.5.35
5.5
Output for 5.4.9 - 5.4.45
5.4
Output for 5.3.19 - 5.3.29
5.3