3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "http://hls.v.momocdn.com/live/gdws360abc/playlist.m3u8"; $startloc = strrpos($a,"/live"); $endloc = strrpos($a,"/playlist.m3u8"); echo $startloc; echo $endloc; echo substr($a,$startloc+6,$endloc-$startloc-6);

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.4.20.0030.01217.38
8.4.10.0000.00917.75
8.3.150.0140.00018.35
8.3.140.0050.00316.48
8.3.130.0070.00718.31
8.3.120.0060.00320.54
8.3.110.0030.00516.49
8.3.100.0100.00024.06
8.3.90.0110.00726.77
8.3.80.0090.00017.97
8.3.70.0130.00718.18
8.3.60.0030.01116.25
8.3.50.0070.01321.98
8.3.40.0040.01118.60
8.3.30.0090.00918.71
8.3.20.0040.00420.16
8.3.10.0070.00023.65
8.3.00.0000.00817.46
8.2.260.0130.00617.10
8.2.250.0080.00018.33
8.2.240.0060.00317.04
8.2.230.0030.00620.94
8.2.220.0080.00337.54
8.2.210.0030.00526.77
8.2.200.0060.00318.29
8.2.190.0070.00716.63
8.2.180.0160.00718.11
8.2.170.0040.01119.07
8.2.160.0080.00622.96
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0000.00726.16
8.2.120.0040.00421.03
8.2.110.0060.00321.03
8.2.100.0120.00017.91
8.2.90.0030.00519.07
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0000.00817.92
8.2.50.0080.00018.07
8.2.40.0040.00419.41
8.2.30.0040.00420.49
8.2.20.0040.00417.73
8.2.10.0000.00818.10
8.2.00.0040.00418.10
8.1.310.0070.01016.38
8.1.300.0000.00816.25
8.1.290.0030.00630.84
8.1.280.0070.01025.92
8.1.270.0040.00423.91
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0090.00023.89
8.1.230.0090.00322.72
8.1.220.0030.01017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0040.00417.22
8.1.180.0060.00318.10
8.1.170.0000.00818.84
8.1.160.0070.00021.98
8.1.150.0070.00018.89
8.1.140.0030.00519.45
8.1.130.0030.00317.55
8.1.120.0040.00317.46
8.1.110.0000.00817.37
8.1.100.0000.00717.29
8.1.90.0050.00317.39
8.1.80.0040.00417.27
8.1.70.0030.00317.38
8.1.60.0040.00417.48
8.1.50.0040.00417.32
8.1.40.0020.00517.41
8.1.30.0030.00617.56
8.1.20.0060.00317.54
8.1.10.0000.00817.51
8.1.00.0000.00717.45
8.0.300.0050.00318.77
8.0.290.0070.00016.63
8.0.280.0000.00718.48
8.0.270.0030.00316.73
8.0.260.0000.00617.13
8.0.250.0000.00716.92
8.0.240.0030.00316.84
8.0.230.0040.00416.95
8.0.220.0030.00516.84
8.0.210.0050.00316.75
8.0.200.0060.00016.88
8.0.190.0030.00516.91
8.0.180.0030.00316.88
8.0.170.0020.00516.77
8.0.160.0000.00716.79
8.0.150.0000.00716.68
8.0.140.0030.00316.75
8.0.130.0030.00313.25
8.0.120.0040.00416.68
8.0.110.0040.00416.87
8.0.100.0000.00716.67
8.0.90.0040.00416.81
8.0.80.0040.01216.75
8.0.70.0080.00016.77
8.0.60.0040.00416.71
8.0.50.0000.00716.93
8.0.30.0130.00717.04
8.0.20.0090.00817.40
8.0.10.0030.00516.75
8.0.00.0090.01016.81
7.4.330.0050.00015.11
7.4.320.0030.00316.48
7.4.300.0030.00316.59
7.4.290.0000.00716.29
7.4.280.0090.00016.52
7.4.270.0000.00716.52
7.4.260.0000.00613.26
7.4.250.0040.00416.38
7.4.240.0020.00516.41
7.4.230.0070.00016.42
7.4.220.0090.00616.38
7.4.210.0140.00716.45
7.4.200.0000.00716.61
7.4.160.0070.00716.64
7.4.150.0180.00717.40
7.4.140.0130.00817.86
7.4.130.0120.00516.42
7.4.120.0040.01416.42
7.4.110.0180.00016.50
7.4.100.0060.01316.50
7.4.90.0150.00716.47
7.4.80.0090.00919.39
7.4.70.0090.00916.44
7.4.60.0030.01216.46
7.4.50.0030.00316.50
7.4.40.0030.02016.44
7.4.30.0110.01116.59
7.4.00.0130.00314.62
7.3.330.0030.00313.14
7.3.320.0000.00613.11
7.3.310.0070.00016.15
7.3.300.0050.00216.15
7.3.290.0060.00916.23
7.3.280.0090.00816.28
7.3.270.0100.00717.40
7.3.260.0170.00016.36
7.3.250.0080.01216.44
7.3.240.0100.00716.31
7.3.230.0090.00916.57
7.3.210.0130.00316.21
7.3.200.0160.00016.55
7.3.190.0080.00816.19
7.3.180.0070.01316.31
7.3.170.0090.00616.27
7.3.160.0070.01416.25
7.3.120.0100.00714.98
7.3.110.0030.01014.69
7.3.100.0090.00614.81
7.3.90.0090.00914.95
7.3.80.0140.00314.99
7.3.70.0040.00414.93
7.3.60.0030.01014.88
7.3.50.0000.01114.86
7.3.40.0070.00414.82
7.3.30.0000.01114.59
7.3.20.0040.01416.68
7.3.10.0090.00516.57
7.3.00.0030.00716.68
7.2.330.0100.00716.36
7.2.320.0200.00316.73
7.2.310.0130.00316.45
7.2.300.0130.00916.54
7.2.290.0060.00916.48
7.2.240.0090.00915.02
7.2.230.0070.01014.82
7.2.220.0070.01315.15
7.2.210.0130.00315.05
7.2.200.0030.01014.88
7.2.190.0060.00914.59
7.2.180.0000.01014.84
7.2.170.0040.00815.07
7.2.160.0000.01514.87
7.2.150.0070.01116.98
7.2.140.0060.00617.00
7.2.130.0090.00516.78
7.2.120.0100.00116.62
7.2.110.0080.00716.81
7.2.100.0080.00816.93
7.2.90.0070.00916.82
7.2.80.0090.00516.85
7.2.70.0110.00516.81
7.2.60.0180.00616.84
7.2.50.0020.01016.73
7.2.40.0110.00516.78
7.2.30.0110.00016.84
7.2.20.0050.00716.90
7.2.10.0030.00916.65
7.2.00.0010.01117.58
7.1.330.0070.01015.72
7.1.320.0090.00615.70
7.1.310.0110.00415.91
7.1.300.0070.00415.74
7.1.290.0040.00715.82
7.1.280.0070.00715.83
7.1.270.0070.00715.50
7.1.260.0070.00415.87
7.1.250.0100.00515.80
7.1.200.0070.00715.79
7.1.100.0090.00618.21
7.1.70.0000.00816.89
7.1.60.0070.01819.43
7.1.50.0070.01016.93
7.1.00.0030.07322.44
7.0.200.0210.00314.68
7.0.60.0130.07720.00
7.0.50.0030.06017.82
7.0.40.0030.05020.07
7.0.30.0000.06720.19
7.0.20.0270.04720.09
7.0.10.0030.09020.33
7.0.00.0100.06720.05
5.6.280.0100.04020.86
5.6.210.0170.07320.44
5.6.200.0100.06718.22
5.6.190.0030.08320.69
5.6.180.0430.03720.41
5.6.170.0170.08320.44
5.6.160.0100.04720.50
5.6.150.0030.04018.22
5.6.140.0030.05318.11
5.6.130.0030.04318.18
5.6.120.0130.07721.13
5.6.110.0030.07720.98
5.6.100.0000.06020.97
5.6.90.0100.03721.02
5.6.80.0200.07020.34
5.5.350.0270.08020.34
5.5.340.0030.05017.88
5.5.330.0100.03720.29
5.5.320.0230.04020.20
5.5.310.0470.04720.33
5.5.300.0100.08017.95
5.5.290.0070.08317.91
5.5.280.0030.04020.72
5.5.270.0070.06720.64
5.5.260.0000.09320.75
5.5.250.0130.07020.57
5.5.240.0070.03020.11
5.4.450.0530.05319.54
5.4.440.0470.06019.38
5.4.430.0470.06019.15
5.4.420.0630.04719.50
5.4.410.0500.05719.25
5.4.400.0530.06319.00
5.4.390.0530.05319.14
5.4.380.0630.06718.78
5.4.370.0530.08018.94
5.4.360.0800.05719.21
5.4.350.0730.05719.06
5.4.340.0500.05719.14
5.4.320.0600.06018.94
5.4.310.0670.07018.99
5.4.300.0630.05719.22
5.4.290.0530.05318.76
5.4.280.0530.05018.76
5.4.270.0630.05019.02
5.4.260.0530.05719.23
5.4.250.0570.06319.16
5.4.240.0430.05719.05
5.4.230.0570.06318.80
5.4.220.0570.05018.98
5.4.210.0570.04718.73
5.4.200.0570.06019.02
5.4.190.0500.05019.02
5.4.180.0470.05318.98
5.4.170.0600.06019.18
5.4.160.0630.04319.04
5.4.150.0600.04718.92
5.4.140.0530.05016.34
5.4.130.0500.04716.39
5.4.120.0670.06016.25
5.4.110.0530.05716.46
5.4.100.0570.04016.49
5.4.90.0500.05016.43
5.4.80.0430.05316.37
5.4.70.0530.04716.04
5.4.60.0570.04016.14
5.4.50.0600.05316.35
5.4.40.0470.05716.26
5.4.30.0500.05316.43
5.4.20.0470.05316.44
5.4.10.0530.05716.46
5.4.00.0530.05315.71

preferences:
35.11 ms | 403 KiB | 5 Q