3v4l.org

run code in 300+ PHP versions simultaneously
<?php # # Things should work even if register_globals is set to off # $testVer=intval(str_replace(".", "",'4.1.0')); $curVer=intval(str_replace(".", "",phpversion())); if( $curVer >= $testVer ) import_request_variables('GPC'); @header('Content-type: text/html; charset='.$config[general_charset].';'); ?>

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.3.10.0070.00716.61
7.3.00.0040.01216.43
7.2.130.0000.01416.76
7.2.120.0100.00717.06
7.2.110.0160.00317.01
7.2.100.0060.00616.75
7.2.90.0040.01116.88
7.2.80.0030.01316.99
7.2.70.0060.00917.06
7.2.60.0030.01016.67
7.2.50.0030.01016.68
7.2.40.0090.00616.90
7.2.30.0070.00416.77
7.2.20.0070.00316.86
7.2.10.0030.01216.72
7.2.00.0050.01018.24
7.1.250.0030.00915.61
7.1.100.0030.00918.20
7.1.70.0000.00717.17
7.1.60.0130.01319.57
7.1.50.0100.00717.03
7.1.00.0130.07022.36
7.0.200.0100.00014.64
7.0.140.0030.03322.00
7.0.60.0070.08019.88
7.0.50.0130.07717.90
7.0.40.0100.06320.27
7.0.30.0470.05320.20
7.0.20.0330.03319.99
7.0.10.0100.08720.09
7.0.00.0070.08320.00
5.6.280.0070.07020.91
5.6.210.0130.07720.62
5.6.200.0030.07718.12
5.6.190.0030.09020.56
5.6.180.4100.04320.51
5.6.170.0430.06020.54
5.6.160.0170.07320.49
5.6.150.0000.04718.12
5.6.140.0000.09018.22
5.6.130.0030.07018.18
5.6.120.0070.03721.00
5.6.110.0170.07720.97
5.6.100.0100.08021.14
5.6.90.0030.06720.97
5.6.80.0030.07020.50
5.6.70.4170.04720.36
5.5.350.0100.08720.49
5.5.340.0030.05718.01
5.5.330.0200.04720.19
5.5.320.3770.03320.34
5.5.310.0200.05320.21
5.5.300.0070.05017.97
5.5.290.0000.05317.97
5.5.280.0130.08020.77
5.5.270.0130.03720.95
5.5.260.0130.08020.86
5.5.250.0070.04020.54
5.5.240.0200.04020.23
5.4.450.0400.06319.64
5.4.440.0830.05019.64
5.4.430.0170.05019.45
5.4.420.0030.06319.60
5.4.410.0100.05319.39
5.4.400.0100.05019.00
5.4.390.0030.06019.06
5.4.380.0170.05718.61
5.4.370.0130.04018.51
5.4.360.0100.04018.48
5.4.350.0070.04018.56
5.4.340.0200.03718.63
5.4.320.0030.05018.55
5.4.310.0130.03718.46
5.4.300.0170.03318.50
5.4.290.0130.03718.47
5.4.280.0100.04018.55
5.4.270.0070.04318.42
5.4.260.0030.04318.50
5.4.250.0130.04318.63
5.4.240.0130.05718.55
5.4.230.0170.04018.54
5.4.220.0270.03718.50
5.4.210.0170.04318.57
5.4.200.0070.04316.34
5.4.190.0070.04018.41
5.4.180.0070.04018.45
5.4.170.0100.04018.62
5.4.160.0130.04318.36
5.4.150.0170.04718.58
5.4.140.0100.04016.27
5.4.130.0170.02716.18
5.4.120.0070.04016.18
5.4.110.0100.03316.05
5.4.100.0170.03316.04
5.4.90.0030.04016.23
5.4.80.0100.03716.06
5.4.70.0070.04016.04
5.4.60.0100.03315.98
5.4.50.0100.03716.20
5.4.40.0070.04016.02
5.4.30.0070.03716.11
5.4.20.0030.04316.02
5.4.10.0070.03715.98
5.4.00.0100.03315.62
5.3.290.0100.03714.70
5.3.280.0170.03714.50
5.3.270.0070.04314.47
5.3.260.0130.04314.65
5.3.250.0130.03314.64
5.3.240.0200.02714.47
5.3.230.0030.04314.49
5.3.220.0070.04014.42
5.3.210.0100.04014.49
5.3.200.0030.04714.48
5.3.190.0070.04314.58
5.3.180.0070.04014.45
5.3.170.0100.03314.41
5.3.160.0100.04014.45
5.3.150.0130.03314.50
5.3.140.0130.03314.43
5.3.130.0000.04714.43
5.3.120.0030.04314.45
5.3.110.0130.05314.46
5.3.100.0070.04313.92
5.3.90.0070.04314.05
5.3.80.0200.04013.96
5.3.70.0200.04013.93
5.3.60.0170.03313.97
5.3.50.0070.03713.88
5.3.40.0070.04013.96
5.3.30.0100.03713.83
5.3.20.0100.03713.59
5.3.10.0130.03713.57
5.3.00.0100.04013.58
5.2.170.0100.03311.21
5.2.160.0100.03011.06
5.2.150.0030.03311.11
5.2.140.0100.03311.02
5.2.130.0070.03011.06
5.2.120.0170.02311.19
5.2.110.0030.03311.20
5.2.100.0000.03711.19
5.2.90.0030.03311.19
5.2.80.0130.02710.95
5.2.70.0070.03011.10
5.2.60.0030.03310.95
5.2.50.0100.03310.98
5.2.40.0070.03010.99
5.2.30.0070.03011.02
5.2.20.0070.03010.93
5.2.10.0030.03710.79
5.2.00.0000.03310.79
5.1.60.0100.02010.00
5.1.50.0070.02310.02
5.1.40.0000.03010.00
5.1.30.0000.03310.25
5.1.20.0100.02710.38
5.1.10.0070.03010.20
5.1.00.0000.04010.04
5.0.50.0000.0308.50
5.0.40.0070.0208.54
5.0.30.0030.0338.25
5.0.20.0030.0238.15
5.0.10.0070.0308.13
5.0.00.0070.0338.08
4.4.90.0070.0135.85
4.4.80.0070.0175.81
4.4.70.0070.0135.83
4.4.60.0070.0175.80
4.4.50.0100.0175.84
4.4.40.0030.0275.93
4.4.30.0030.0205.81
4.4.20.0030.0205.98
4.4.10.0000.0205.89
4.4.00.0030.0335.89
4.3.110.0030.0205.86
4.3.100.0000.0205.78
4.3.90.0000.0175.72
4.3.80.0000.0275.85
4.3.70.0000.0205.85
4.3.60.0100.0175.81
4.3.50.0030.0175.75
4.3.40.0030.0275.72
4.3.30.0070.0134.55
4.3.20.0000.0204.47
4.3.10.0030.0174.49
4.3.00.0100.0277.07

preferences:
29.81 ms | 403 KiB | 5 Q