3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 'http://example.com/path/to/somewhere? param1=x&param2=http://another.example.com/path/to/another/example/'; var_dump(parse_url($x)); $y = '/path/to/somewhere? param1=x&param2=http://another.example.com/path/to/another/example/'; var_dump(parse_url($y));

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.0140.00316.63
8.3.50.0110.01121.94
8.3.40.0110.00418.60
8.3.30.0140.00018.79
8.3.20.0080.00020.16
8.3.10.0040.00423.66
8.3.00.0040.00420.82
8.2.180.0060.00916.32
8.2.170.0090.00922.96
8.2.160.0120.00320.42
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0070.00022.31
8.2.110.0070.00422.25
8.2.100.0030.00917.84
8.2.90.0030.00617.84
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0040.00418.03
8.2.30.0040.00418.01
8.2.20.0000.00717.46
8.2.10.0030.00519.34
8.2.00.0040.00417.57
8.1.280.0170.00325.92
8.1.270.0080.00023.96
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.52
8.1.230.0100.00320.85
8.1.220.0080.00017.74
8.1.210.0050.00318.78
8.1.200.0030.00617.00
8.1.190.0000.00817.41
8.1.180.0080.00018.10
8.1.170.0000.01018.28
8.1.160.0060.00321.93
8.1.150.0000.00718.57
8.1.140.0000.00717.39
8.1.130.0070.00017.73
8.1.120.0000.00717.41
8.1.110.0040.00417.41
8.1.100.0030.00317.34
8.1.90.0070.00017.44
8.1.80.0000.00717.40
8.1.70.0000.00717.23
8.1.60.0040.00417.39
8.1.50.0040.00417.44
8.1.40.0030.00617.41
8.1.30.0040.00417.46
8.1.20.0050.00317.53
8.1.10.0000.00717.44
8.1.00.0000.01017.37
8.0.300.0090.00019.86
8.0.290.0040.00417.05
8.0.280.0000.00718.38
8.0.270.0030.00317.09
8.0.260.0000.00716.75
8.0.250.0040.00416.95
8.0.240.0070.00016.87
8.0.230.0000.00716.76
8.0.220.0000.00716.86
8.0.210.0000.00716.75
8.0.200.0000.00616.86
8.0.190.0050.00316.88
8.0.180.0030.00516.87
8.0.170.0050.00316.85
8.0.160.0030.00316.73
8.0.150.0050.00316.80
8.0.140.0050.00316.67
8.0.130.0030.00313.25
8.0.120.0030.00516.80
8.0.110.0000.00716.75
8.0.100.0040.00416.71
8.0.90.0000.00716.61
8.0.80.0030.01216.80
8.0.70.0030.00516.89
8.0.60.0000.00716.60
8.0.50.0040.00416.64
8.0.30.0110.00816.78
8.0.20.0130.01317.40
8.0.10.0040.00416.95
8.0.00.0140.00816.52
7.4.330.0030.00315.00
7.4.320.0000.00616.43
7.4.300.0040.00416.42
7.4.290.0000.00716.55
7.4.280.0040.00416.39
7.4.270.0040.00416.34
7.4.260.0030.00316.42
7.4.250.0040.00416.54
7.4.240.0050.00216.51
7.4.230.0030.00316.53
7.4.220.0040.01416.46
7.4.210.0080.00916.58
7.4.200.0030.00316.55
7.4.190.0060.00016.69
7.4.160.0120.00616.48
7.4.150.0140.00317.40
7.4.140.0100.00917.86
7.4.130.0090.00916.46
7.4.120.0090.01016.39
7.4.110.0170.00016.46
7.4.100.0160.00716.17
7.4.90.0100.00716.46
7.4.80.0090.01519.39
7.4.70.0130.00416.42
7.4.60.0070.01316.33
7.4.50.0030.00616.46
7.4.40.0030.01422.77
7.4.30.0060.01016.35
7.4.00.0130.00514.89
7.3.330.0030.00312.86
7.3.320.0000.00712.85
7.3.310.0060.00016.23
7.3.300.0040.00416.18
7.3.290.0130.00616.10
7.3.280.0100.00616.10
7.3.270.0040.01217.40
7.3.260.0070.01116.25
7.3.250.0090.00916.34
7.3.240.0030.01416.23
7.3.230.0170.00016.48
7.3.210.0090.00916.17
7.3.200.0100.01319.39
7.3.190.0140.00716.12
7.3.180.0120.00916.35
7.3.170.0130.00316.27
7.3.160.0080.00816.34
7.3.120.0060.01114.56
7.3.110.0110.00614.66
7.3.100.0070.01314.67
7.3.90.0060.01214.49
7.3.80.0130.00314.89
7.3.70.0040.00414.68
7.3.60.0060.00614.47
7.3.50.0030.01014.46
7.3.40.0100.00314.49
7.3.30.0030.00914.43
7.3.20.0000.01316.67
7.3.10.0000.01016.15
7.3.00.0060.00916.63
7.2.330.0070.01016.62
7.2.320.0110.00816.52
7.2.310.0140.00316.50
7.2.300.0100.01016.56
7.2.290.0060.01016.50
7.2.250.0030.01414.98
7.2.240.0060.01314.98
7.2.230.0070.00714.98
7.2.220.0040.01414.64
7.2.210.0080.00815.07
7.2.200.0120.00314.79
7.2.190.0140.00014.89
7.2.180.0030.01314.60
7.2.170.0100.00314.91
7.2.160.0030.01014.73
7.2.150.0000.01016.74
7.2.140.0080.00816.36
7.2.130.0070.01016.87
7.2.120.0090.00616.29
7.2.110.0000.01416.66
7.2.100.0000.01016.87
7.2.90.0030.00916.86
7.2.80.0030.00716.48
7.2.70.0090.00916.47
7.2.60.0030.00616.72
7.2.50.0030.00916.46
7.2.40.0120.00416.87
7.2.30.0060.00616.38
7.2.20.0080.00416.55
7.2.10.0000.01416.73
7.2.00.0080.00617.73
7.1.330.0000.01715.80
7.1.320.0060.01215.62
7.1.310.0100.00715.87
7.1.300.0040.01115.78
7.1.290.0030.01315.80
7.1.280.0000.01115.71
7.1.270.0030.01215.45
7.1.260.0070.00715.90
7.1.250.0000.00915.62
7.1.240.0000.01415.78
7.1.230.0000.01115.71
7.1.220.0000.01215.59
7.1.210.0040.01115.82
7.1.200.0060.00615.55
7.1.190.0040.00715.75
7.1.180.0000.01015.79
7.1.170.0030.01015.84
7.1.160.0060.00615.71
7.1.150.0080.00415.63
7.1.140.0070.00715.61
7.1.130.0080.00315.76
7.1.120.0060.00615.84
7.1.110.0120.00315.60
7.1.100.0060.00516.70
7.1.90.0070.00415.36
7.1.80.0110.00015.72
7.1.70.0070.00716.18
7.1.60.0110.00617.53
7.1.50.0090.00516.22
7.1.40.0060.00615.82
7.1.30.0060.00915.41
7.1.20.0100.00715.45
7.1.10.0100.00715.63
7.1.00.0050.04019.18
7.0.330.0060.00315.32
7.0.320.0100.00315.20
7.0.310.0030.01015.38
7.0.300.0030.00915.39
7.0.290.0030.01015.07
7.0.280.0030.00815.42
7.0.270.0070.00715.20
7.0.260.0070.00715.28
7.0.250.0000.01415.14
7.0.240.0060.00615.49
7.0.230.0110.00415.18
7.0.220.0000.01015.05
7.0.210.0090.00415.43
7.0.200.0050.00715.97
7.0.190.0080.00815.22
7.0.180.0040.00815.49
7.0.170.0080.00415.13
7.0.160.0030.01415.38
7.0.150.0100.00315.45
7.0.140.0050.04018.55
7.0.130.0050.00515.26
7.0.120.0060.01015.48
7.0.110.0100.00315.45
7.0.100.0000.01615.48
7.0.90.0030.00715.07
7.0.80.0070.00715.20
7.0.70.0060.00615.32
7.0.60.0080.04317.58
7.0.50.0050.02216.69
7.0.40.0120.04116.64
7.0.30.0250.03116.77
7.0.20.0170.03016.76
7.0.10.0050.04416.82
7.0.00.0070.04316.83
5.6.400.0120.00314.38
5.6.390.0030.00514.06
5.6.380.0070.01014.21
5.6.370.0030.01314.41
5.6.360.0140.00014.13
5.6.350.0070.00714.43
5.6.340.0090.00614.13
5.6.330.0000.01413.97
5.6.320.0070.00414.14
5.6.310.0030.00614.09
5.6.300.0060.00914.27
5.6.290.0040.00714.14
5.6.280.0020.04317.68
5.6.270.0070.00314.11
5.6.260.0060.01114.45
5.6.250.0070.00714.06
5.6.240.0060.00614.28
5.6.230.0110.00414.17
5.6.220.0070.00714.31
5.6.210.0030.02517.34
5.6.200.0040.02316.23
5.6.190.0030.03817.47
5.6.180.0160.02417.48
5.6.170.0240.03517.37
5.6.160.0070.04717.27
5.6.150.0100.03716.11
5.6.140.0100.04516.11
5.6.130.0070.04916.14
5.6.120.0080.03017.71
5.6.110.0060.02417.60
5.6.100.0090.04417.66
5.6.90.0120.03917.58
5.6.80.0080.04317.24
5.6.70.2200.02717.36
5.6.60.0080.00314.09
5.6.50.0140.00314.02
5.6.40.0070.00714.28
5.6.30.0030.01314.15
5.6.20.0060.00914.07
5.6.10.0070.00713.94
5.6.00.0030.00914.10
5.5.380.0040.01114.16
5.5.370.0060.01014.24
5.5.360.0040.00414.48
5.5.350.0030.05417.23
5.5.340.0050.03416.07
5.5.330.0060.04317.10
5.5.320.0130.04317.45
5.5.310.0100.03217.11
5.5.300.0080.04116.09
5.5.290.0090.03415.95
5.5.280.0030.03517.52
5.5.270.0030.02517.26
5.5.260.0040.02217.52
5.5.250.0100.04517.17
5.5.240.0200.03917.18
5.5.230.0090.00613.92
5.5.220.0050.00513.84
5.5.210.0070.00713.89
5.5.200.0030.01513.87
5.5.190.0060.00913.89
5.5.180.0040.00814.14
5.5.170.0070.00714.10
5.5.160.0030.00714.16
5.5.150.0030.01213.82
5.5.140.0070.00714.18
5.5.130.0100.00713.96
5.5.120.0030.01014.11
5.5.110.0100.00313.70
5.5.100.0070.00714.22
5.5.90.0000.01414.05
5.5.80.0040.01113.90
5.5.70.0040.00714.18
5.5.60.0040.01114.09
5.5.50.0070.00414.07
5.5.40.0000.01214.27
5.5.30.0070.00414.17
5.5.20.0040.01113.78
5.5.10.0090.00613.77
5.5.00.0000.01713.77
5.4.450.0020.03515.63
5.4.440.0080.03715.70
5.4.430.0050.03715.46
5.4.420.0000.03115.61
5.4.410.0070.04015.63
5.4.400.0070.02715.53
5.4.390.0030.04215.37
5.4.380.0020.04015.34
5.4.370.0030.04215.45
5.4.360.0020.04215.51
5.4.350.0030.04015.30
5.4.340.0020.04315.48
5.4.330.0060.00611.81
5.4.320.0050.02515.47
5.4.310.0000.02915.45
5.4.300.0000.03515.30
5.4.290.0050.03915.45
5.4.280.0020.03215.51
5.4.270.0060.03815.36
5.4.260.0110.03615.31
5.4.250.0000.04215.53
5.4.240.0020.02215.44
5.4.230.0030.02515.38
5.4.220.0020.02115.46
5.4.210.0000.02715.36
5.4.200.0020.02215.42
5.4.190.0020.02015.48
5.4.180.0030.02115.46
5.4.170.0020.02615.52
5.4.160.0000.02215.51
5.4.150.0030.02015.33
5.4.140.0080.01714.00
5.4.130.0030.02214.01
5.4.120.0020.02014.06
5.4.110.0090.01714.01
5.4.100.0050.02414.01
5.4.90.0040.02014.10
5.4.80.0030.02214.10
5.4.70.0020.02014.11
5.4.60.0030.02014.06
5.4.50.0050.02014.06
5.4.40.0020.02514.06
5.4.30.0030.02014.11
5.4.20.0020.02214.09
5.4.10.0050.01814.08
5.4.00.0050.01813.79
5.3.290.0070.03313.21
5.3.280.0030.02613.14
5.3.270.0050.01813.23
5.3.260.0030.02013.22
5.3.250.0010.02213.12
5.3.240.0060.02013.13
5.3.230.0020.02213.12
5.3.220.0020.02313.12
5.3.210.0110.01513.11
5.3.200.0030.03113.16
5.3.190.0020.02213.20
5.3.180.0000.02513.11
5.3.170.0000.02213.16
5.3.160.0020.02213.10
5.3.150.0030.01813.20
5.3.140.0120.01513.15
5.3.130.0020.02213.11
5.3.120.0020.02313.09
5.3.110.0040.02013.14
5.3.100.0030.02212.84
5.3.90.0040.01812.93
5.3.80.0030.02312.90
5.3.70.0030.02212.91
5.3.60.0000.02312.79
5.3.50.0000.02012.80
5.3.40.0070.01612.80
5.3.30.0070.02512.74
5.3.20.0020.02912.67
5.3.10.0120.02712.71
5.3.00.0000.02712.74
5.2.170.0000.03012.44
5.2.160.0000.02712.44
5.2.150.0030.03012.44
5.2.140.0030.04012.44
5.2.130.0070.05712.44
5.2.120.0070.03712.44
5.2.110.0030.03712.44
5.2.100.0030.03012.44
5.2.90.0070.03012.44
5.2.80.0030.04012.44
5.2.70.0030.07312.44
5.2.60.0030.06312.44
5.2.50.0000.05012.44
5.2.40.0070.02712.44
5.2.30.0030.06012.44
5.2.20.0070.04312.44
5.2.10.0070.05012.44
5.2.00.0030.06012.44
5.1.60.0030.04712.44
5.1.50.0070.03312.44
5.1.40.0030.05312.44
5.1.30.0030.05712.44
5.1.20.0030.05312.44
5.1.10.0100.03312.44
5.1.00.0000.06012.44
5.0.50.0000.05012.44
5.0.40.0070.01712.44
5.0.30.0030.03712.44
5.0.20.0000.04312.44
5.0.10.0030.02712.44
5.0.00.0030.06312.44
4.4.90.0070.01712.44
4.4.80.0000.02312.44
4.4.70.0000.03012.44
4.4.60.0000.02012.44
4.4.50.0070.03012.44
4.4.40.0000.04712.44
4.4.30.0030.03012.44
4.4.20.0030.03712.44
4.4.10.0030.01712.44
4.4.00.0030.05012.44
4.3.110.0000.02012.44
4.3.100.0030.01312.44
4.3.90.0000.02012.44
4.3.80.0030.05312.44
4.3.70.0000.03712.44
4.3.60.0030.02712.44
4.3.50.0000.02012.44
4.3.40.0070.04312.44
4.3.30.0030.03712.44
4.3.20.0100.02312.44
4.3.10.0000.04012.44
4.3.00.0030.03012.44

preferences:
60.33 ms | 401 KiB | 5 Q