3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urlPath = parse_url('http://tvil.ru/city/gelendzhik/hotels/341229/', PHP_URL_PATH); $pathParts = explode('/', $urlPath); $pathParts = array_unique($pathParts); var_dump($pathParts);

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.01118.30
8.3.50.0110.00722.81
8.3.40.0110.00418.57
8.3.30.0060.00918.54
8.3.20.0070.00720.02
8.3.10.0040.00421.90
8.3.00.0050.00319.66
8.2.180.0140.00716.75
8.2.170.0140.00022.96
8.2.160.0110.00419.38
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0020.00526.16
8.2.120.0050.00319.54
8.2.110.0070.00321.00
8.2.100.0110.00018.03
8.2.90.0050.00319.08
8.2.80.0040.00417.97
8.2.70.0080.00017.37
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0030.00520.52
8.2.30.0050.00321.03
8.2.20.0000.00817.62
8.2.10.0040.00417.87
8.2.00.0040.00417.87
8.1.280.0110.00325.92
8.1.270.0170.00023.75
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00321.07
8.1.230.0070.00417.82
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0000.00917.23
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0000.00918.36
8.1.160.0000.00722.05
8.1.150.0060.00318.81
8.1.140.0030.00519.52
8.1.130.0040.00417.55
8.1.120.0000.00817.30
8.1.110.0000.00717.28
8.1.100.0040.00417.43
8.1.90.0030.00617.28
8.1.80.0040.00417.38
8.1.70.0040.00417.45
8.1.60.0040.00417.52
8.1.50.0080.00017.46
8.1.40.0000.00717.43
8.1.30.0000.00817.47
8.1.20.0040.00417.53
8.1.10.0040.00417.44
8.1.00.0000.00717.35
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0000.00818.33
8.0.270.0030.00317.25
8.0.260.0070.00017.19
8.0.250.0000.00716.93
8.0.240.0040.00416.93
8.0.230.0040.00416.90
8.0.220.0030.00316.71
8.0.210.0000.00716.89
8.0.200.0060.00316.90
8.0.190.0040.00416.94
8.0.180.0030.00516.80
8.0.170.0040.00416.83
8.0.160.0030.00316.74
8.0.150.0000.00816.71
8.0.140.0040.00416.80
8.0.130.0060.00013.19
8.0.120.0040.00416.70
8.0.110.0000.00816.66
8.0.100.0080.00016.79
8.0.90.0000.00716.86
8.0.80.0070.00716.84
8.0.70.0060.00316.73
8.0.60.0000.00816.94
8.0.50.0040.00416.86
8.0.30.0050.01217.02
8.0.20.0130.00817.40
8.0.10.0050.00216.88
8.0.00.0070.01116.70
7.4.330.0030.00315.08
7.4.320.0030.00316.56
7.4.300.0070.00016.43
7.4.290.0070.00016.51
7.4.280.0040.00416.57
7.4.270.0030.00316.37
7.4.260.0030.00316.40
7.4.250.0080.00016.51
7.4.240.0030.00316.51
7.4.230.0070.00016.46
7.4.220.0090.00916.39
7.4.210.0110.00616.53
7.4.200.0040.00416.47
7.4.160.0060.01016.25
7.4.150.0070.01017.40
7.4.140.0090.00817.86
7.4.130.0130.00616.45
7.4.120.0130.00316.49
7.4.110.0130.01016.28
7.4.100.0080.00816.28
7.4.90.0090.00916.34
7.4.80.0120.00419.39
7.4.70.0080.00816.25
7.4.60.0110.00716.29
7.4.50.0030.00916.38
7.4.40.0090.00916.21
7.4.30.0070.01016.46
7.4.00.0070.01015.11
7.3.330.0000.00712.88
7.3.320.0050.00012.98
7.3.310.0070.00016.15
7.3.300.0050.00316.16
7.3.290.0070.00016.14
7.3.280.0070.01116.17
7.3.270.0150.00617.40
7.3.260.0100.00716.31
7.3.250.0170.01416.25
7.3.240.0060.01116.20
7.3.230.0140.00316.39
7.3.210.0060.01016.18
7.3.200.0070.01516.13
7.3.190.0120.00916.61
7.3.180.0060.01516.25
7.3.170.0040.01816.38
7.3.160.0090.01216.25
7.2.330.0030.01416.39
7.2.320.0060.01516.62
7.2.310.0110.00916.61
7.2.300.0090.01216.15
7.2.290.0080.00816.60
7.2.00.0240.00419.07
7.1.70.0090.00617.13
7.1.60.0000.01119.45
7.1.00.0070.07322.48
7.0.200.0070.00416.70
7.0.90.1300.06320.00
7.0.80.0200.05320.00
7.0.70.0200.07319.98
7.0.60.0130.07719.97
7.0.50.0200.05320.36
7.0.40.0200.05020.33
7.0.30.0170.06320.31
7.0.20.0070.06720.34
7.0.10.0130.06020.37
7.0.00.0230.05720.22
5.6.230.0200.05320.71
5.6.220.0030.06720.70
5.6.210.0130.08320.66
5.6.200.0230.05021.16
5.6.190.0130.06721.07
5.6.180.0100.06021.06
5.6.170.0130.05721.06
5.6.160.0170.07721.19
5.6.150.0070.06321.10
5.6.140.0170.05321.07
5.6.130.0100.06020.98
5.6.120.0100.06321.13
5.6.110.0100.06321.05
5.6.100.0100.07021.05
5.6.90.0200.05721.05
5.6.80.0130.05320.46
5.6.70.0100.05720.45
5.6.60.0070.06320.54
5.6.50.0170.07020.50
5.6.40.0130.05720.53
5.6.30.0170.05320.53
5.6.20.0100.05320.37
5.6.10.0070.06020.38
5.6.00.0070.06020.36

preferences:
57.32 ms | 401 KiB | 5 Q