3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test="http://google.com:1&#106@example.com"; echo $x= parse_url($test, PHP_URL_HOST); echo file_get_contents($test);

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.0150.00019.06
8.3.50.0120.00316.33
8.3.40.0120.00619.26
8.3.30.0060.00919.08
8.3.20.0050.00319.40
8.3.10.0080.00022.10
8.3.00.0070.00319.73
8.2.180.0100.01016.75
8.2.170.0130.00322.96
8.2.160.0090.00620.55
8.2.150.0000.00725.66
8.2.140.0060.00324.66
8.2.130.0040.00420.72
8.2.120.0000.00726.35
8.2.110.0030.00621.25
8.2.100.0040.00717.97
8.2.90.0080.00019.43
8.2.80.0000.00818.16
8.2.70.0060.00317.75
8.2.60.0040.00418.29
8.2.50.0040.00418.18
8.2.40.0040.00420.75
8.2.30.0030.00519.44
8.2.20.0000.00718.14
8.2.10.0040.00418.25
8.2.00.0000.00718.25
8.1.280.0100.01025.92
8.1.270.0050.00322.44
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00024.09
8.1.230.0080.00417.64
8.1.220.0000.00917.90
8.1.210.0050.00518.77
8.1.200.0030.00717.48
8.1.190.0000.00817.35
8.1.180.0030.00618.10
8.1.170.0030.00618.74
8.1.160.0070.00019.21
8.1.150.0070.00318.96
8.1.140.0030.00619.72
8.1.130.0000.00718.87
8.1.120.0060.00317.51
8.1.110.0040.00417.54
8.1.100.0000.00817.43
8.1.90.0000.00817.57
8.1.80.0060.00317.61
8.1.70.0040.00417.54
8.1.60.0060.00317.60
8.1.50.0040.00417.44
8.1.40.0070.00417.57
8.1.30.0060.00317.84
8.1.20.0080.00017.55
8.1.10.0030.00517.54
8.1.00.0090.00017.52
8.0.300.0000.00718.77
8.0.290.0030.00617.13
8.0.280.0070.00018.68
8.0.270.0030.00317.42
8.0.260.0030.00317.25
8.0.250.0000.00717.18
8.0.240.0040.00417.33
8.0.230.0040.00317.10
8.0.220.0050.00216.99
8.0.210.0000.00716.97
8.0.200.0030.00317.08
8.0.190.0000.00917.27
8.0.180.0000.00717.06
8.0.170.0070.00017.12
8.0.160.0000.00717.12
8.0.150.0020.00517.00
8.0.140.0050.00216.93
8.0.130.0000.00613.60
8.0.120.0040.00417.15
8.0.110.0040.00417.12
8.0.100.0000.00717.10
8.0.90.0000.00717.27
8.0.80.0110.00617.17
8.0.70.0040.00417.12
8.0.60.0060.00317.00
8.0.50.0040.00417.28
8.0.30.0160.00717.28
8.0.20.0120.00817.45
8.0.10.0040.00417.29
8.0.00.0090.00916.94
7.4.330.0050.00015.55
7.4.320.0030.00316.71
7.4.300.0000.00716.68
7.4.290.0000.00816.60
7.4.280.0000.00816.66
7.4.270.0030.00316.68
7.4.260.0000.00513.42
7.4.250.0050.00316.75
7.4.240.0040.00416.70
7.4.230.0080.00016.82
7.4.220.0030.01516.79
7.4.210.0080.00716.77
7.4.200.0060.00316.57
7.4.160.0100.00716.80
7.4.150.0070.01117.40
7.4.140.0110.01017.86
7.4.130.0130.00716.70
7.4.120.0130.00816.71
7.4.110.0150.00616.80
7.4.100.0110.00716.56
7.4.90.0130.00316.74
7.4.80.0130.01019.39
7.4.70.0030.01416.68
7.4.60.0060.01816.75
7.4.50.0150.00316.61
7.4.40.0030.01616.56
7.4.30.0060.00916.67
7.4.00.0070.00715.13
7.3.330.0000.00613.29
7.3.320.0050.00013.49
7.3.310.0040.00416.47
7.3.300.0070.00016.49
7.3.290.0080.00016.53
7.3.280.0130.00816.49
7.3.270.0100.01717.40
7.3.260.0110.01216.54
7.3.250.0130.01016.57
7.3.240.0090.00916.52
7.3.230.0030.01616.60
7.3.210.0080.00816.32
7.3.200.0110.00616.55
7.3.190.0110.00616.61
7.3.180.0040.01416.61
7.3.170.0100.00716.52
7.3.160.0070.01016.41
7.2.330.0190.00616.89
7.2.320.0070.01016.50
7.2.310.0070.01016.92
7.2.300.0140.00316.96
7.2.290.0080.00916.89
7.2.60.0000.01517.26
7.2.00.0030.00619.44
7.1.200.0040.00815.99
7.1.100.0060.00618.28
7.1.70.0050.00317.46
7.1.60.0270.02033.66
7.1.50.3330.02733.21
7.1.40.0270.02032.81
7.1.30.0330.01332.87
7.1.20.3600.01732.99
7.1.10.2500.01715.21
7.1.00.2470.01715.13
7.0.200.3330.01715.32
7.0.190.0170.00715.14
7.0.180.0070.02014.50
7.0.170.0100.01314.71
7.0.160.2670.01714.49
7.0.150.1800.01314.65
7.0.140.2370.01714.91
7.0.130.2470.01314.88
7.0.120.2800.02014.74
7.0.110.1970.00714.58
7.0.100.1870.01314.48
7.0.90.2430.01314.83
7.0.80.2600.01714.72
7.0.70.2170.01014.86
7.0.60.3000.00314.29
7.0.50.3330.00314.71
7.0.40.2970.01014.96
7.0.30.2370.01714.59
7.0.20.2930.01014.82
7.0.10.2930.01014.92
7.0.00.2670.01314.70

preferences:
34.4 ms | 401 KiB | 5 Q