3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(isset($_POST['addcomment'])) { // echo '#EXTM3U cache=800<br />'; $s = $_POST[comment]; while ($s != "") { $s1 = $s; list($short,$s) = split ("<location>udp://@", $s,2); list($url,$s) = split ("</location>", $s,2); list($short,$s) = split ("<title><!\[CDATA\[", $s,2); list($name,$s) = split ("]]></title>", $s,2); list($short,$s) = split ("<image><!\[CDATA\[", $s,2); list($img,$s) = split ("]]></image>", $s,2); if ($url !== "") // echo 'http://192.168.1.1:8080/udp/'.$url.'<br />'; echo '#EXTINF:-1, '.$name.'<br />udp://@'.$url.'<br />'; } } ?> <form method="post"> <textarea id="comment" name="comment" style="width: 100%; height: 150px; font-size: 1em;"></textarea> <input name="addcomment" type="submit" value="Отправить" style="margin-top:1em; margin-left:2em"> </form>

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.40.0120.00318.84
8.3.30.0070.00719.03
8.3.20.0080.00020.28
8.3.10.0050.00221.72
8.3.00.0000.00917.90
8.2.170.0120.00622.96
8.2.160.0060.00920.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00021.10
8.2.110.0060.00321.94
8.2.100.0030.00721.13
8.2.90.0050.00319.28
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0040.00817.52
8.2.50.0080.00018.07
8.2.40.0000.00918.22
8.2.30.0000.00718.28
8.2.20.0040.00417.81
8.2.10.0050.00217.96
8.2.00.0000.00717.72
8.1.270.0000.00823.84
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.78
8.1.230.0030.00719.10
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0000.01017.22
8.1.190.0040.00417.10
8.1.180.0030.00518.10
8.1.170.0040.00418.59
8.1.160.0000.00722.04
8.1.150.0070.00018.74
8.1.140.0040.00417.30
8.1.130.0030.00517.41
8.1.120.0000.00717.46
8.1.110.0030.00617.32
8.1.100.0040.00417.41
8.1.90.0000.00717.29
8.1.80.0030.00517.40
8.1.70.0030.00317.42
8.1.60.0040.00417.47
8.1.50.0040.00417.39
8.1.40.0030.00617.51
8.1.30.0040.00417.47
8.1.20.0000.00817.45
8.1.10.0000.00817.43
8.1.00.0000.00817.39
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0040.00418.47
8.0.270.0050.00317.09
8.0.260.0030.00616.67
8.0.250.0000.00716.93
8.0.240.0060.00316.90
8.0.230.0070.00016.82
8.0.220.0080.00016.84
8.0.210.0000.00816.86
8.0.200.0000.00616.82
8.0.190.0040.00416.91
8.0.180.0040.00416.91
8.0.170.0050.00316.76
8.0.160.0070.00016.84
8.0.150.0070.00016.84
8.0.140.0080.00016.72
8.0.130.0030.00613.26
8.0.120.0050.00316.83
8.0.110.0040.00416.77
8.0.100.0040.00416.80
8.0.90.0000.00816.74
8.0.80.0090.00516.81
8.0.70.0030.00516.91
8.0.60.0040.00416.69
8.0.50.0030.00516.66
8.0.30.0130.00717.23
8.0.20.0060.01217.40
8.0.10.0040.00416.98
8.0.00.0060.01116.83
7.4.330.0020.00215.04
7.4.320.0030.00316.48
7.4.300.0040.00416.43
7.4.290.0030.00316.55
7.4.280.0000.00716.56
7.4.270.0030.00316.55
7.4.260.0030.00316.56
7.4.250.0000.00916.54
7.4.240.0040.00416.42
7.4.230.0000.00716.35
7.4.220.0120.00616.61
7.4.210.0070.00716.48
7.4.200.0040.00416.30
7.4.160.0090.00616.55
7.4.150.0100.00717.40
7.4.140.0100.01217.86
7.4.130.0080.00816.51
7.4.120.0100.00616.54
7.4.110.0190.03116.61
7.4.100.0110.00516.64
7.4.90.0120.00616.61
7.4.80.0080.01119.39
7.4.70.0030.01416.48
7.4.60.0090.00916.45
7.4.50.0090.00016.58
7.4.40.0070.01016.24
7.4.30.0100.00716.61
7.4.00.0090.00614.89
7.3.330.0050.00013.14
7.3.320.0000.00613.12
7.3.310.0000.00716.05
7.3.300.0050.00316.25
7.3.290.0100.00716.27
7.3.280.0080.00916.22
7.3.270.0030.01317.40
7.3.260.0070.01116.31
7.3.250.0130.00316.40
7.3.240.0070.01116.47
7.3.230.0140.00316.48
7.3.210.0040.01316.39
7.3.200.0130.00319.39
7.3.190.0100.00716.26
7.3.180.0120.00316.48
7.3.170.0130.00916.38
7.3.160.0030.01216.25
7.3.120.0100.00714.73
7.3.10.0090.00616.67
7.3.00.0030.00816.66
7.2.330.0070.01016.49
7.2.320.0110.00816.59
7.2.310.0060.01316.29
7.2.300.0000.01716.36
7.2.290.0060.01216.49
7.2.130.0080.00416.88
7.2.120.0060.00816.70
7.2.110.0090.00616.79
7.2.100.0030.01316.71
7.2.90.0080.00516.81
7.2.80.0060.01016.87
7.2.70.0090.00916.80
7.2.60.0090.01016.62
7.2.50.0030.01116.93
7.2.40.0020.01016.85
7.2.30.0020.00916.81
7.2.20.0070.00716.84
7.2.10.0110.00416.81
7.2.00.0080.00717.68
7.1.250.0050.00815.68
7.1.240.0070.01015.41
7.1.230.0060.00915.63
7.1.220.0100.00315.76
7.1.210.0100.00315.68
7.1.200.0020.00915.57
7.1.190.0040.01115.36
7.1.180.0070.01115.15
7.1.170.0160.00315.77
7.1.160.0040.01115.62
7.1.150.0070.00715.49
7.1.140.0110.00315.64
7.1.130.0030.01015.77
7.1.120.0000.01115.66
7.1.110.0110.00415.56
7.1.100.0040.00916.84
7.1.90.0090.00615.53
7.1.80.0070.00715.51
7.1.70.0020.00716.37
7.1.60.0030.01617.69
7.1.50.0090.00816.10
7.1.40.0070.00715.65
7.1.30.0000.01515.56
7.1.20.0070.00715.35
7.1.10.0030.01015.51
7.1.00.0030.04319.01
7.0.330.0050.00515.40
7.0.320.0090.00615.26
7.0.310.0120.00315.43
7.0.300.0070.00715.35
7.0.290.0080.00415.45
7.0.280.0070.00715.21
7.0.270.0110.00715.32
7.0.260.0070.00715.23
7.0.250.0120.00315.21
7.0.240.0100.00315.35
7.0.230.0040.00815.29
7.0.220.0070.00715.15
7.0.210.0030.00715.11
7.0.200.0070.00415.89
7.0.190.0110.00315.18
7.0.180.0000.01315.08
7.0.170.0100.00315.36
7.0.160.0030.00715.23
7.0.150.0150.00015.20
7.0.140.0060.03818.78
7.0.130.0100.00315.36
7.0.120.0080.00415.40
7.0.110.0090.00315.29
7.0.100.0030.00715.30
7.0.90.0070.00715.32
7.0.80.0030.00715.32
7.0.70.0040.00815.23
7.0.60.0100.03617.57
7.0.50.0030.03216.45
7.0.40.0060.03316.71
7.0.30.0100.02616.63
7.0.20.0210.04316.70
7.0.10.0120.02816.71
7.0.00.0100.04616.79
5.6.380.0000.01414.35
5.6.370.0040.00414.59
5.6.360.0030.00814.30
5.6.350.0030.00614.28
5.6.340.0080.00814.27
5.6.330.0000.01414.16
5.6.320.0040.01114.47
5.6.310.0060.00614.23
5.6.300.0090.00314.27
5.6.290.0030.01014.52
5.6.280.0090.03217.65
5.6.270.0000.01014.00
5.6.260.0000.01114.32
5.6.250.0100.00314.28
5.6.240.0020.00714.24
5.6.230.0040.00714.29
5.6.220.0090.00314.21
5.6.210.0050.03717.44
5.6.200.0050.02516.14
5.6.190.0020.03317.47
5.6.180.0200.04017.34
5.6.170.0220.02717.50
5.6.160.0060.04217.48
5.6.150.0090.04216.25
5.6.140.0020.02516.31
5.6.130.0070.02216.12
5.6.120.0110.02017.51
5.6.110.0150.04017.60
5.6.100.0110.04117.69
5.6.90.0050.04817.45
5.6.80.0110.04117.24
5.6.70.0120.02117.29
5.6.60.0070.00714.06
5.6.50.0030.00914.14
5.6.40.0090.00614.18
5.6.30.0030.01313.98
5.6.20.0070.00714.16
5.6.10.0090.00614.11
5.6.00.0070.01014.16
5.5.380.0040.00810.65
5.5.370.0040.00810.96
5.5.360.0000.00911.11
5.5.350.0130.03515.62
5.5.340.0080.01914.57
5.5.330.0070.04015.74
5.5.320.0080.04015.64
5.5.310.0250.02815.49
5.5.300.0080.03514.51
5.5.290.0020.02814.40
5.5.280.0070.04215.95
5.5.270.0100.04015.91
5.5.260.0200.02615.89
5.5.250.0040.04015.77
5.5.240.0050.03115.51
5.5.230.0060.00010.82
5.5.220.0070.00010.98
5.5.210.0030.00610.88
5.5.200.0030.00911.09
5.5.190.0000.00810.84
5.5.180.0030.00610.74
5.5.170.0090.00010.91
5.5.160.0070.00011.01
5.5.150.0040.00710.63
5.5.140.0090.00311.14
5.5.130.0070.00311.05
5.5.120.0040.00410.96
5.5.110.0030.00710.67
5.5.100.0070.00711.07
5.5.90.0040.00710.96
5.5.80.0030.00710.75
5.5.70.0030.00310.47
5.5.60.0030.00310.91
5.5.50.0080.00411.09
5.5.40.0060.00611.04
5.5.30.0060.00611.02
5.5.20.0030.00310.79
5.5.10.0000.01010.93
5.5.00.0060.00610.97
5.4.450.0300.02815.24
5.4.440.0400.02915.02
5.4.430.0350.03015.07
5.4.420.0330.00615.09
5.4.410.0120.02514.77
5.4.400.0190.02814.66
5.4.390.0130.03114.52
5.4.380.0170.02814.66
5.4.370.0070.02714.64
5.4.360.0080.03014.82
5.4.350.0070.02211.22
5.4.340.0070.01911.28
5.4.330.0050.00510.87
5.4.320.0070.02011.61
5.4.310.0070.02211.49
5.4.300.0060.02111.59
5.4.290.0070.02011.71
5.4.280.0080.02611.50
5.4.270.0030.02311.53
5.4.260.0080.01911.67
5.4.250.0060.02011.60
5.4.240.0060.02111.57
5.4.230.0060.02511.61
5.4.220.0040.02611.59
5.4.210.0080.01811.49
5.4.200.0040.02111.43
5.4.190.0050.02011.51
5.4.180.0070.01811.51
5.4.170.0060.02011.54
5.4.160.0060.02311.38
5.4.150.0090.02211.60
5.4.140.0030.02711.52
5.4.130.0050.02011.27
5.4.120.0050.02111.27
5.4.110.0060.02111.46
5.4.100.0090.01811.38
5.4.90.0040.02311.33
5.4.80.0060.02011.31
5.4.70.0040.02011.43
5.4.60.0090.01811.25
5.4.50.0060.01911.43
5.4.40.0040.02111.41
5.4.30.0050.02311.28
5.4.20.0060.02111.43
5.4.10.0090.01611.40
5.4.00.0060.01911.12
5.3.290.0040.02311.66
5.3.280.0040.02111.51
5.3.270.0040.02711.51
5.3.260.0050.02211.49
5.3.250.0040.02311.58
5.3.240.0060.02611.48
5.3.230.0060.02311.47
5.3.220.0070.01911.43
5.3.210.0030.02411.45
5.3.200.0050.02211.41
5.3.190.0050.02511.49
5.3.180.0040.02511.56
5.3.170.0050.02511.47
5.3.160.0060.01811.59
5.3.150.0050.02211.56
5.3.140.0040.02111.52
5.3.130.0060.02211.52
5.3.120.0070.02511.46
5.3.110.0030.02911.37
5.3.100.0070.02711.22
5.3.90.0060.03011.24
5.3.80.0040.02611.08
5.3.70.0060.02411.20
5.3.60.0050.02211.16
5.3.50.0040.02211.08
5.3.40.0060.02211.07
5.3.30.0060.02011.12
5.3.20.0040.02210.85
5.3.10.0050.02410.85
5.3.00.0060.02210.89
5.2.170.0070.0179.58
5.2.160.0020.0229.57
5.2.150.0060.0209.57
5.2.140.0050.0179.57
5.2.130.0050.0169.55
5.2.120.0050.0169.55
5.2.110.0040.0209.56
5.2.100.0020.0189.55
5.2.90.0020.0199.55
5.2.80.0020.0209.55
5.2.70.0050.0169.55
5.2.60.0070.0159.53
5.2.50.0060.0169.51
5.2.40.0050.0179.50
5.2.30.0030.0209.49
5.2.20.0040.0199.48
5.2.10.0050.0179.44
5.2.00.0040.0169.38
5.1.60.0070.0149.02
5.1.50.0070.0139.02
5.1.40.0040.0169.01
5.1.30.0070.0189.18
5.1.20.0030.0189.19
5.1.10.0050.0139.05
5.1.00.0020.0159.05
5.0.50.0010.0158.29
5.0.40.0030.0128.22
5.0.30.0060.0188.13
5.0.20.0020.0168.11
5.0.10.0020.0138.11
5.0.00.0020.0188.10
4.4.90.0020.0107.37
4.4.80.0010.0117.36
4.4.70.0020.0117.36
4.4.60.0010.0137.36
4.4.50.0030.0097.36
4.4.40.0020.0157.33
4.4.30.0040.0077.36
4.4.20.0030.0087.40
4.4.10.0020.0117.40
4.4.00.0020.0187.36
4.3.110.0030.0097.31
4.3.100.0020.0097.31
4.3.90.0010.0097.29
4.3.80.0020.0157.27
4.3.70.0010.0107.29
4.3.60.0030.0087.29
4.3.50.0010.0107.29
4.3.40.0020.0137.25
4.3.30.0020.0096.63
4.3.20.0020.0116.62
4.3.10.0030.0086.60
4.3.00.0050.0138.51

preferences:
37.93 ms | 400 KiB | 5 Q