3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* In this example the source media is located at rtmp://vs-hls-ww.live.cf.md.bbci.co.uk/pool_902/live/nonuk/bbc_arabic_tv/bbc_arabic_tv.isml/index.m3u8 Flow player has the name split by 2 part. They are stored in respective variables below. */ $base_url = 'http://livep2p.vanlong.stream/playlist/44faa15ef2772ff1012230a7b4dbd2e11615475726783.m3u8'; $today = gmdate("n/j/Y g:i:s A"); $key = //317a488a-0091-4a14-8147-f4e965992ebf $validminutes = 1; $str2hash = $key . $today . $validminutes; $md5raw = md5($str2hash, true); $base64hash = ($md5raw); $urlsignature = "http://4ce5e2d62ee2c10e43c709f9b87c44d5.streamhost.cc/m3u8/France/1b4d1e3292b3936.m3u8" . $today ."&hash_value=" . $base64hash. "&=$validminutes"; $base64urlsignature = base64_encode($urlsignature); ?> <?php echo "{$base_url}?wmsAuthSign=$base64urlsignature"; ?>

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.5.00.0090.01220.06
8.4.150.0010.00214.05
8.4.140.0110.01117.79
8.4.130.0060.00217.80
8.4.120.0110.00920.30
8.4.110.0070.01322.47
8.4.100.0140.00717.74
8.4.90.0120.00917.54
8.4.80.0040.01017.79
8.4.70.0080.01217.96
8.4.60.0060.00418.75
8.4.50.0150.00618.69
8.4.40.0080.00019.40
8.4.30.0070.01120.76
8.4.20.0030.00617.98
8.4.10.0130.00319.25
8.3.280.0080.01418.43
8.3.270.0090.01116.25
8.3.260.0090.01016.70
8.3.250.0090.00819.08
8.3.240.0060.01316.52
8.3.230.0090.01116.40
8.3.220.0050.00318.52
8.3.210.0090.00816.71
8.3.200.0040.00516.62
8.3.190.0040.00417.03
8.3.180.0100.00816.55
8.3.170.0090.00920.66
8.3.160.0070.01117.02
8.3.150.0000.01417.17
8.3.140.0000.01416.49
8.3.130.0150.00418.65
8.3.120.0040.00418.86
8.3.110.0000.00918.46
8.3.100.0110.00718.25
8.3.90.0150.01026.77
8.3.80.0160.00523.06
8.3.70.0300.00621.70
8.3.60.0240.00721.57
8.3.50.0220.00719.94
8.3.40.0230.00822.87
8.3.30.0180.00722.70
8.3.20.0120.01125.47
8.3.10.0210.00125.71
8.3.00.0180.00526.46
8.2.290.0070.00520.36
8.2.280.0120.00819.99
8.2.270.0070.01117.25
8.2.260.0060.00916.59
8.2.250.0040.00418.17
8.2.240.0040.00417.18
8.2.230.0070.00420.94
8.2.220.0090.00324.06
8.2.210.0120.00626.77
8.2.200.0200.00622.82
8.2.190.0230.00622.40
8.2.180.0250.00526.34
8.2.170.0260.00622.86
8.2.160.0180.01024.87
8.2.150.0210.00026.21
8.2.140.0080.00725.71
8.2.130.0100.00326.46
8.2.120.0090.00423.71
8.2.110.0160.00524.53
8.2.100.0210.00522.30
8.2.90.0200.00522.34
8.2.80.0220.00422.41
8.2.70.0210.00422.26
8.2.60.0180.00722.40
8.2.50.0180.00722.42
8.2.40.0200.00522.43
8.2.30.0180.00522.37
8.2.20.0140.01322.38
8.2.10.0200.00623.03
8.2.00.0180.00723.00
8.1.330.0100.00916.53
8.1.320.0120.00715.91
8.1.310.0100.00718.64
8.1.300.0060.00318.36
8.1.290.0220.00928.80
8.1.280.0230.00926.34
8.1.270.0180.00425.38
8.1.260.0170.01026.56
8.1.250.0200.00827.43
8.1.240.0150.01324.63
8.1.230.0210.00323.87
8.1.220.0180.00622.27
8.1.210.0270.00322.83
8.1.200.0190.00622.06
8.1.190.0210.00322.12
8.1.180.0170.00722.43
8.1.170.0220.00222.75
8.1.160.0190.00422.83
8.1.150.0150.00822.83
8.1.140.0210.00322.82
8.1.130.0130.01123.42
8.1.120.0200.00522.15
8.1.110.0150.00722.08
8.1.100.0180.00522.15
8.1.90.0140.00922.14
8.1.80.0190.00322.14
8.1.70.0160.00722.11
8.1.60.0190.00622.17
8.1.50.0160.00922.17
8.1.40.0120.01022.17
8.1.30.0070.01322.21
8.1.20.0140.01022.17
8.1.10.0250.00322.13
8.1.00.0200.00522.05
8.0.300.0170.00623.40
8.0.290.0120.01221.76
8.0.280.0190.00422.56
8.0.270.0170.00622.37
8.0.260.0050.01323.51
8.0.250.0140.00621.89
8.0.240.0210.00321.89
8.0.230.0220.00621.83
8.0.220.0170.00721.85
8.0.210.0150.00821.86
8.0.200.0170.00621.80
8.0.190.0160.01021.87
8.0.180.0180.00521.79
8.0.170.0170.00421.86
8.0.160.0120.00621.85
8.0.150.0190.00421.80
8.0.140.0190.00321.80
8.0.130.0190.00220.04
8.0.120.0220.00421.77
8.0.110.0190.00421.83
8.0.100.0170.00621.85
8.0.90.0140.00921.76
8.0.80.0140.01020.16
8.0.70.0140.00421.77
8.0.60.0030.00921.83
8.0.50.0110.00221.82
8.0.30.0300.00320.20
8.0.20.0260.00320.30
8.0.10.0250.00720.17
8.0.00.0190.00820.25
7.4.330.0200.00121.16
7.4.320.0080.01321.64
7.4.300.0120.00621.63
7.4.290.0140.00721.57
7.4.280.0160.00621.68
7.4.270.0160.00521.71
7.4.260.0140.00620.00
7.4.250.0200.00621.61
7.4.240.0120.00719.97
7.4.230.0130.00921.71
7.4.220.0080.00419.99
7.4.210.0090.00519.04
7.4.200.0100.00221.66
7.4.190.0290.00426.77
7.4.180.0270.00726.77
7.4.160.0190.00719.96
7.4.150.0170.00619.84
7.4.140.0150.01019.82
7.4.130.0160.01019.90
7.4.120.0200.00519.88
7.4.110.0190.01019.83
7.4.100.0270.00419.95
7.4.90.0230.00819.86
7.4.80.0230.00719.90
7.4.70.0230.00819.88
7.4.60.0230.00619.81
7.4.50.0260.00419.86
7.4.40.0210.00719.76
7.4.30.0280.00519.90
7.4.20.0240.01319.84
7.4.10.0220.00619.84
7.4.00.0130.00819.83
7.3.330.0100.00721.62
7.3.320.0140.00619.99
7.3.310.0120.00521.56
7.3.300.0170.00321.49
7.3.290.0140.00518.93
7.3.280.0270.00421.52
7.3.270.0240.00519.81
7.3.260.0260.00619.82
7.3.250.0170.01019.77
7.3.240.0290.00519.82
7.3.230.0220.00819.88
7.3.220.0240.00619.80
7.3.210.0230.00919.84
7.3.200.0240.00619.89
7.3.190.0250.00519.90
7.3.180.0260.00519.85
7.3.170.0280.00719.87
7.3.160.0230.01019.81
7.3.150.0250.00619.87
7.3.140.0230.00719.86
7.3.130.0250.00519.82
7.3.120.0200.01119.86
7.3.110.0250.00619.76
7.3.100.0260.00519.88
7.3.90.0250.00619.86
7.3.80.0250.00819.79
7.3.70.0230.00619.82
7.3.60.0230.00719.84
7.3.50.0230.01119.84
7.3.40.0230.00819.88
7.3.30.0230.00819.79
7.3.20.0220.00919.84
7.3.10.0180.01119.83
7.3.00.0210.00919.84

preferences:
147.56 ms | 403 KiB | 5 Q