3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '1 TANITIM 2 SPOR MOZAİK '; $list=array_map("trim",explode("\n", $data)); $jsn=[]; echo '#EXTM3U'."\n"; foreach($list as $item){ $t = preg_match("/[0-9]+\s+(.*)/",$item,$matches)?$matches[1]:[]; $n = $t; $t = mb_strtolower($t); $t = str_replace(' ','_',$t); $t = str_replace(['ü','ç','ş','ğ','ı'],['u','c','s','g','i'],$t); $t = strtoupper($t); echo '#EXTINF:0,' . $n."\n"; $t = 'http://195.175.223.2:8080/MVP/TTG/live-shls/shls/LIVE$'.$t.'/1.m3u8/Level(2621440)?start=LIVE&end=END'; echo $t."\n"; } //print_r($jsn);

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.0090.00918.80
8.3.50.0120.00918.39
8.3.40.0150.00619.09
8.3.30.0150.00618.92
8.3.20.0080.00020.53
8.3.10.0000.00823.48
8.3.00.0000.00723.70
8.2.180.0120.00318.91
8.2.170.0090.00622.96
8.2.160.0030.01022.20
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00020.07
8.2.120.0040.00426.35
8.2.110.0060.00320.37
8.2.100.0150.00018.03
8.2.90.0060.00317.88
8.2.80.0000.00817.97
8.2.70.0030.00618.16
8.2.60.0060.00318.22
8.2.50.0000.00918.10
8.2.40.0030.00619.46
8.2.30.0030.00619.38
8.2.20.0000.00818.01
8.2.10.0040.00419.39
8.2.00.0070.00019.18
8.1.280.0070.00725.92
8.1.270.0060.00318.83
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00023.88
8.1.230.0090.00319.15
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0060.00317.36
8.1.180.0040.00418.10
8.1.170.0040.00418.69
8.1.160.0070.00018.99
8.1.150.0040.00418.99
8.1.140.0000.00722.16
8.1.130.0030.00320.25
8.1.120.0030.00317.73
8.1.110.0050.00217.59
8.1.100.0050.00217.56
8.1.90.0050.00217.56
8.1.80.0070.00017.68
8.1.70.0050.00217.65
8.1.60.0040.00417.81
8.1.50.0070.00417.75
8.1.40.0040.00417.75
8.1.30.0050.00317.86
8.1.20.0060.00317.79
8.1.10.0020.00517.74
8.1.00.0040.00417.64
8.0.300.0080.00021.68
8.0.290.0040.00416.88
8.0.280.0000.00718.59
8.0.270.0030.00317.34
8.0.260.0000.00718.47
8.0.250.0070.00017.18
8.0.240.0080.00017.29
8.0.230.0030.00317.12
8.0.220.0030.00317.19
8.0.210.0030.00317.21
8.0.200.0030.00317.31
8.0.190.0000.00717.24
8.0.180.0080.00017.24
8.0.170.0040.00417.06
8.0.160.0040.00417.25
8.0.150.0060.00617.09
8.0.140.0000.00817.11
8.0.130.0030.00313.55
8.0.120.0040.00417.02
8.0.110.0000.00717.09
8.0.100.0040.00417.18
8.0.90.0000.00817.22
8.0.80.0130.00817.12
8.0.70.0040.00417.02
8.0.60.0070.00017.02
8.0.50.0000.00717.14
8.0.30.0090.00817.44
8.0.20.0090.00917.29
8.0.10.0000.00717.00
8.0.00.0090.00917.01
7.4.330.0020.00215.55
7.4.320.0070.00016.87
7.4.300.0000.00616.70
7.4.290.0030.00316.82
7.4.280.0000.00716.71
7.4.270.0050.00316.79
7.4.260.0040.00416.91
7.4.250.0030.00316.82
7.4.240.0000.00716.79
7.4.230.0000.00716.83
7.4.220.0030.00516.53
7.4.210.0110.00616.78
7.4.200.0040.00416.77
7.4.160.0130.00716.72
7.4.140.0100.01017.86
7.4.130.0110.00716.88
7.4.120.0090.00916.74
7.4.110.0030.01616.84
7.4.100.0190.00916.62
7.4.90.0120.00416.78
7.4.80.0100.01319.39
7.4.70.0090.00916.85
7.4.60.0110.00616.86
7.4.50.0060.00916.75
7.4.40.0070.01016.66
7.4.00.0100.00715.27
7.3.330.0030.00313.43
7.3.320.0000.00513.46
7.3.310.0080.00016.68
7.3.300.0030.00316.66
7.3.290.0030.00316.66
7.3.280.0100.00616.67
7.3.260.0090.00916.75
7.3.240.0110.01116.74
7.3.230.0100.01416.49
7.3.210.0130.00316.89
7.3.200.0130.00916.89
7.3.190.0130.00916.98
7.3.180.0150.00316.56
7.3.170.0090.00916.43
7.3.160.0070.01116.71
7.3.120.0090.00615.09
7.3.110.0090.00615.25
7.3.100.0030.00714.79
7.3.90.0030.01015.14
7.3.80.0070.00315.27
7.3.70.0090.00015.09
7.3.60.0030.00915.14
7.3.50.0100.00715.03
7.3.40.0100.00715.16
7.3.30.0000.01515.08
7.3.20.0160.00017.04
7.3.10.0030.01316.82
7.3.00.0190.01015.80
7.2.330.0040.01516.65
7.2.320.0100.01316.91
7.2.310.0120.00616.92
7.2.300.0140.00316.80
7.2.290.0100.00716.82
7.2.240.0040.01115.54
7.2.230.0060.00615.23
7.2.220.0060.01115.48
7.2.210.0000.01215.50
7.2.200.0030.00615.25
7.2.190.0090.00615.16
7.2.180.0030.01015.23
7.2.170.0130.00015.09
7.2.160.0000.01515.03
7.2.150.0070.00717.11
7.2.140.0110.00017.27
7.2.130.0190.00616.28
7.2.120.0250.00616.28
7.2.110.0180.00716.30
7.2.100.0190.01016.26
7.2.90.0140.00916.22
7.2.80.0210.00816.31
7.2.70.0200.00816.25
7.2.60.0190.00916.29
7.2.50.0220.00516.35
7.2.40.0190.00916.22
7.2.30.0220.00916.46
7.2.20.0210.00316.40
7.2.10.0160.01016.30
7.2.00.0220.00816.11
7.1.330.0030.00916.23
7.1.320.0060.00316.22
7.1.310.0080.00416.01
7.1.300.0140.00015.86
7.1.290.0060.00615.81
7.1.280.0070.00315.91
7.1.270.0110.00016.13
7.1.260.0040.01116.03
7.1.250.0160.01015.02
7.0.330.0350.00713.92
5.6.380.0140.00314.29

preferences:
35.44 ms | 400 KiB | 5 Q