3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('BASE_URL', 'http://localhost:2000/~james/test/'); $in = '/~james/test/sign-in/'; $url = ''; if(isset($in)) $url = http_build_url(BASE_URL, array('path' => $in)); if(!$url) $url = BASE_URL . 'home/'; echo $url;

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)
8.3.60.0040.01916.63
8.3.50.0110.00716.63
8.3.40.0090.00618.81
8.3.30.0090.00618.83
8.3.20.0070.00020.34
8.3.10.0070.00023.61
8.3.00.0050.00523.65
8.2.180.0110.00418.29
8.2.170.0090.00622.96
8.2.160.0090.00920.45
8.2.150.0030.00624.18
8.2.140.0050.00324.66
8.2.130.0040.00420.82
8.2.120.0030.00626.35
8.2.110.0030.00620.47
8.2.100.0040.00817.62
8.2.90.0000.00819.09
8.2.80.0070.00417.97
8.2.70.0000.00817.63
8.2.60.0000.00817.80
8.2.50.0000.00818.09
8.2.40.0040.00420.38
8.2.30.0000.00819.36
8.2.20.0040.00417.61
8.2.10.0000.00718.11
8.2.00.0000.00718.08
8.1.280.0090.00625.92
8.1.270.0040.00422.14
8.1.260.0030.00528.09
8.1.250.0050.00328.09
8.1.240.0120.00621.39
8.1.230.0060.00617.51
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0000.00917.22
8.1.180.0000.00818.10
8.1.170.0000.00918.48
8.1.160.0040.00420.75
8.1.150.0000.00718.83
8.1.140.0060.00319.56
8.1.130.0000.00717.65
8.1.120.0030.00717.43
8.1.110.0050.00217.31
8.1.100.0040.00317.45
8.1.90.0030.00617.41
8.1.80.0060.00317.25
8.1.70.0000.00717.45
8.1.60.0000.00817.42
8.1.50.0070.00017.43
8.1.40.0040.00717.51
8.1.30.0000.00817.66
8.1.20.0080.00017.48
8.1.10.0050.00217.60
8.1.00.0000.00817.52
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00318.26
8.0.270.0030.00517.32
8.0.260.0060.00017.20
8.0.250.0030.00717.01
8.0.240.0000.00716.86
8.0.230.0000.00716.96
8.0.220.0050.00316.91
8.0.210.0030.00316.93
8.0.200.0000.00716.95
8.0.190.0000.00716.98
8.0.180.0000.00716.78
8.0.170.0030.00516.93
8.0.160.0000.00716.91
8.0.150.0080.00016.85
8.0.140.0030.00316.76
8.0.130.0050.00013.29
8.0.120.0040.00416.82
8.0.110.0040.00416.93
8.0.100.0000.00716.68
8.0.90.0000.00716.93
8.0.80.0000.01516.85
8.0.70.0040.00416.89
8.0.60.0000.00816.77
8.0.50.0040.00416.70
8.0.30.0130.00817.15
8.0.20.0110.00917.40
8.0.10.0040.00417.07
8.0.00.0110.01116.91
7.4.330.0000.00516.85
7.4.320.0060.00016.55
7.4.300.0040.00416.52
7.4.290.0000.00716.60
7.4.280.0000.00716.36
7.4.270.0000.00716.62
7.4.260.0040.00416.59
7.4.250.0040.00416.46
7.4.240.0000.00716.45
7.4.230.0000.00716.49
7.4.220.0000.00716.26
7.4.210.0030.01016.57
7.4.200.0050.00216.65
7.4.160.0040.01116.63
7.4.150.0070.01017.40
7.4.140.0120.00917.86
7.4.130.0060.01316.41
7.4.120.0130.00416.45
7.4.110.0100.01016.62
7.4.100.0130.00616.58
7.4.90.0080.00816.46
7.4.80.0170.00319.39
7.4.70.0060.01216.63
7.4.60.0140.00316.57
7.4.50.0030.01216.48
7.4.40.0030.01316.74
7.4.30.0040.01516.61
7.4.00.0070.01214.94
7.3.330.0070.00013.02
7.3.320.0000.00513.11
7.3.310.0000.00716.20
7.3.300.0030.00316.30
7.3.290.0080.01016.28
7.3.280.0080.00916.23
7.3.270.0100.00717.40
7.3.260.0090.01216.30
7.3.250.0090.00916.25
7.3.240.0070.00916.36
7.3.230.0060.01216.39
7.3.210.0160.00316.28
7.3.200.0120.01119.39
7.3.190.0040.01116.57
7.3.180.0090.00616.50
7.3.170.0130.00616.39
7.3.160.0100.00616.34
7.3.120.0090.00914.60
7.3.110.0070.00714.84
7.3.100.0090.00614.97
7.3.90.0030.00714.83
7.3.80.0070.00314.59
7.3.70.0100.00314.93
7.3.60.0030.01314.83
7.3.50.0070.01114.88
7.3.40.0070.00714.74
7.3.30.0070.00714.94
7.3.20.0130.00316.66
7.3.10.0070.00716.74
7.3.00.0030.01316.78
7.2.330.0090.01516.26
7.2.320.0090.00916.35
7.2.310.0100.00616.64
7.2.300.0090.00916.60
7.2.290.0000.01616.47
7.2.250.0000.01714.86
7.2.240.0030.01415.04
7.2.230.0150.00015.06
7.2.220.0070.01014.89
7.2.210.0060.00614.48
7.2.200.0100.00315.03
7.2.190.0060.00914.61
7.2.180.0040.00814.86
7.2.170.0040.01114.90
7.2.60.0000.01316.72
7.2.00.0070.00719.39
7.1.330.0100.00315.74
7.1.320.0000.01415.38
7.1.310.0060.00315.82
7.1.300.0030.01315.71
7.1.290.0080.00815.81
7.1.280.0060.00315.67
7.1.270.0070.00715.32
7.1.260.0000.01415.66
7.1.200.0040.00815.68
7.1.100.0060.00918.21
7.1.70.0000.00717.10
7.1.60.0110.01419.40
7.1.50.0080.00816.93
7.1.00.0030.07722.45
7.0.200.0150.00814.85
7.0.60.0300.07720.00
7.0.50.0100.07317.82
7.0.40.0070.05720.20
7.0.30.0470.07320.17
7.0.20.0270.04320.12
7.0.10.0030.04719.99
7.0.00.0070.08320.01
5.6.280.0000.07320.91
5.6.210.0100.07020.76
5.6.200.0170.07018.09
5.6.190.0070.08320.61
5.6.180.0270.05720.41
5.6.170.0300.08020.38
5.6.160.0070.04320.71
5.6.150.0170.05318.19
5.6.140.0130.07018.07
5.6.130.0100.07718.09
5.6.120.0000.04320.97
5.6.110.0130.08020.97
5.6.100.0030.04320.96
5.6.90.0170.04321.17
5.6.80.0030.04020.50
5.5.350.0130.03320.40
5.5.340.0130.07318.02
5.5.330.0030.04320.43
5.5.320.0400.04020.18
5.5.310.0230.08020.19
5.5.300.0000.04317.89
5.5.290.0000.04317.98
5.5.280.0170.04020.95
5.5.270.0100.05720.86
5.5.260.0130.07020.75
5.5.250.0070.05720.69
5.5.240.0170.03020.25

preferences:
78.69 ms | 401 KiB | 5 Q