3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo isset($a)?$a:'Test A ok<br>'; echo $b??$b:'Test B ok<br>';

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.00.0330.04720.34
5.6.160.0130.07720.71
5.6.150.0000.04318.14
5.6.140.0030.04018.14
5.6.130.0070.08018.14
5.6.120.0030.04721.09
5.6.110.0030.08321.09
5.6.100.0100.08720.88
5.6.90.0070.07720.87
5.6.80.0030.04020.41
5.5.300.0100.07318.04
5.5.290.0030.08018.07
5.5.280.0100.04720.86
5.5.270.0100.05320.75
5.5.260.0130.08020.95
5.5.250.0000.04320.74
5.5.240.0100.03020.23

preferences:
139.34 ms | 1394 KiB | 7 Q