3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; $test = 1 $test > 0 ? {$i++; $output = 'yo'} : $output = 'no'; echo $output.'<br />'.$i;

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)
5.4.260.0070.06018.92
5.4.250.0200.04018.93
5.4.240.0170.04319.06
5.4.230.0130.04718.98
5.4.220.0030.06318.62
5.4.210.0170.04318.71
5.4.200.0070.05318.87
5.4.190.0070.08018.91
5.4.180.0070.05018.90
5.4.170.0130.07018.95
5.4.160.0100.05018.73
5.4.150.0230.06319.05
5.4.140.0130.04716.57
5.4.130.0100.04716.38
5.4.120.0100.05316.36
5.4.110.0070.05716.39
5.4.100.0070.05016.49
5.4.90.0170.04316.46
5.4.80.0130.06316.41
5.4.70.0170.06316.46
5.4.60.0070.05316.50
5.4.50.0100.06316.36
5.4.40.0070.06016.55
5.4.30.0130.04316.36
5.4.20.0100.05016.62
5.4.10.0070.06016.33
5.4.00.0130.06015.87
5.3.280.0130.05714.70
5.3.270.0130.06314.52
5.3.260.0070.07314.64
5.3.250.0100.05014.50
5.3.240.0100.06014.49
5.3.230.0100.07014.59
5.3.220.0200.05714.56
5.3.210.0070.05714.56
5.3.200.0030.05014.58
5.3.190.0070.05314.48
5.3.180.0170.06314.41
5.3.170.0130.07014.42
5.3.160.0070.05314.57
5.3.150.0100.04714.57
5.3.140.0100.04714.59
5.3.130.0030.05314.41
5.3.120.0030.06314.58
5.3.110.0100.05014.57
5.3.100.0070.08313.91
5.3.90.0170.04013.87
5.3.80.0070.05013.94
5.3.70.0030.05314.01
5.3.60.0100.06314.01
5.3.50.0100.05313.79
5.3.40.0170.04713.97
5.3.30.0070.05013.78
5.3.20.0200.05713.57
5.3.10.0070.07313.42
5.3.00.0070.06313.34
5.2.170.0030.05310.90
5.2.160.0070.04311.16
5.2.150.0030.04311.04
5.2.140.0100.05711.05
5.2.130.0070.06011.11
5.2.120.0100.05311.02
5.2.110.0100.04011.13
5.2.100.0100.05011.00
5.2.90.0300.03311.24
5.2.80.0070.05311.18
5.2.70.0030.04711.01
5.2.60.0030.06010.98
5.2.50.0070.06010.95
5.2.40.0100.04310.91
5.2.30.0000.04710.98
5.2.20.0100.03710.91
5.2.10.0030.04310.75
5.2.00.0070.05710.77
5.1.60.0100.04010.02
5.1.50.0100.0339.89
5.1.40.0100.03710.01
5.1.30.0070.03710.25
5.1.20.0130.02710.19
5.1.10.0100.03010.14
5.1.00.0000.03710.12
5.0.50.0030.0338.60
5.0.40.0070.0278.18
5.0.30.0000.0478.30
5.0.20.0030.0278.25
5.0.10.0030.0338.23
5.0.00.0030.0438.07
4.4.90.0100.0177.27
4.4.80.0030.0277.27
4.4.70.0000.0237.27
4.4.60.0000.0337.27
4.4.50.0000.0237.27
4.4.40.0030.0477.27
4.4.30.0130.0137.27
4.4.20.0000.0307.27
4.4.10.0030.0307.27
4.4.00.0000.0377.27
4.3.110.0030.0207.27
4.3.100.0070.0277.27
4.3.90.0030.0237.27
4.3.80.0030.0337.27
4.3.70.0030.0277.27
4.3.60.0030.0177.27
4.3.50.0000.0237.27
4.3.40.0030.0437.27
4.3.30.0030.0277.27
4.3.20.0030.0207.27
4.3.10.0070.0177.27
4.3.00.0030.0207.58

preferences:
142.62 ms | 1394 KiB | 7 Q