3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<head><script src="//s.ytimg.com/yts/jsbin/scheduler-vflcamh30/scheduler.js" type="text/javascript" name="scheduler/scheduler"></script> <link rel="stylesheet" href="//s.ytimg.com/yts/cssbin/www-core-2x-webp-vfl3iP9Qf.css" name="www-core"> <link rel="stylesheet" href="//s.ytimg.com/yts/cssbin/www-home-c4-2x-webp-vfl_GJYCY.css" name="www-home-c4"> <link rel="stylesheet" href="//s.ytimg.com/yts/cssbin/www-pageframe-2x-webp-vflE-hEYP.css" name="www-pageframe"> <link rel="stylesheet" href="//s.ytimg.com/yts/cssbin/www-guide-2x-webp-vflZfXyUk.css" name="www-guide"> <title>YouTube</title><link rel="search" type="application/opensearchdescription+xml" href="https://www.youtube.com/opensearch?locale=en_US" title="YouTube Video Search"><link rel="shortcut icon" href="https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico" type="image/x-icon"> <link rel="icon" href="//s.ytimg.com/yts/img/favicon_32-vfl8NGn4k.png" sizes="32x32"><link rel="icon" href="//s.ytimg.com/yts/img/favicon_48-vfl1s0rGh.png" sizes="48x48"><link rel="icon" href="//s.ytimg.com/yts/img/favicon_96-vfldSA3ca.png" sizes="96x96"><link rel="icon" href="//s.ytimg.com/yts/img/favicon_144-vflWmzoXw.png" sizes="144x144"><link rel="canonical" href="https://www.youtube.com/"><link rel="alternate" media="handheld" href="https://m.youtube.com/?"><link rel="alternate" media="only screen and (max-width: 640px)" href="https://m.youtube.com/?"><meta name="description" content="Share your videos with friends, family, and the world"><meta name="keywords" content="video, sharing, camera phone, video phone, free, upload"> <meta property="og:image" content="//s.ytimg.com/yts/img/yt_1200-vfl4C3T0K.png"> <meta property="fb:app_id" content="87741124305"> <link rel="publisher" href="https://plus.google.com/115229808208707341778"> <link rel="alternate" href="android-app://com.google.android.youtube/http/www.youtube.com/"> <link rel="alternate" href="ios-app://544007664/vnd.youtube/www.youtube.com/"> </head>'; $regx = '/(src|href|data[\-a-z]+)="([^"]*)"/i'; $out = preg_replace($regx,'https://s.ytimg.com',$str); echo $out; ?>

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.0160.00616.88
8.3.50.0120.00318.23
8.3.40.0130.00318.84
8.3.30.0070.00718.93
8.3.20.0040.00420.33
8.3.10.0080.00023.43
8.3.00.0040.00419.38
8.2.180.0060.00916.63
8.2.170.0090.00622.96
8.2.160.0140.00720.58
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00419.48
8.2.120.0020.00526.35
8.2.110.0030.00722.18
8.2.100.0040.00718.03
8.2.90.0030.00617.91
8.2.80.0080.00017.97
8.2.70.0060.00317.75
8.2.60.0040.00417.90
8.2.50.0080.00018.07
8.2.40.0030.00619.31
8.2.30.0000.00720.55
8.2.20.0060.00317.75
8.2.10.0040.00418.20
8.2.00.0080.00018.24
8.1.280.0140.00425.92
8.1.270.0090.00024.01
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0030.00622.47
8.1.230.0080.00420.94
8.1.220.0060.00317.91
8.1.210.0060.00318.97
8.1.200.0040.00717.35
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0030.00618.84
8.1.160.0000.00822.01
8.1.150.0000.00818.78
8.1.140.0060.00619.57
8.1.130.0040.00417.60
8.1.120.0050.00217.57
8.1.110.0090.00017.56
8.1.100.0080.00017.55
8.1.90.0040.00417.48
8.1.80.0040.00417.56
8.1.70.0070.00017.50
8.1.60.0040.00417.73
8.1.50.0000.00817.52
8.1.40.0060.00317.59
8.1.30.0030.00517.79
8.1.20.0000.00817.71
8.1.10.0050.00317.55
8.1.00.0030.00617.64
8.0.300.0070.00020.11
8.0.290.0040.00417.00
8.0.280.0000.00718.37
8.0.270.0030.00317.21
8.0.260.0000.00717.22
8.0.250.0060.00017.14
8.0.240.0060.00317.15
8.0.230.0040.00416.95
8.0.220.0040.00416.88
8.0.210.0070.00016.91
8.0.200.0000.00617.07
8.0.190.0040.00417.00
8.0.180.0080.00016.92
8.0.170.0030.00517.06
8.0.160.0040.00416.97
8.0.150.0000.00717.02
8.0.140.0030.00317.02
8.0.130.0050.00213.38
8.0.120.0000.00916.98
8.0.110.0030.00316.79
8.0.100.0030.00316.86
8.0.90.0050.00417.03
8.0.80.0050.00616.93
8.0.70.0080.00016.80
8.0.60.0030.00416.82
8.0.50.0020.00517.00
8.0.30.0090.00617.02
8.0.20.0080.00817.34
8.0.10.0040.00417.06
8.0.00.0100.00516.92
7.4.330.0050.00016.86
7.4.320.0040.00416.78
7.4.300.0030.00316.77
7.4.290.0030.00316.66
7.4.280.0070.00016.79
7.4.270.0040.00416.73
7.4.260.0040.00416.60
7.4.250.0040.00416.67
7.4.240.0070.00016.76
7.4.230.0020.00516.56
7.4.220.0080.00516.70
7.4.210.0020.00916.68
7.4.200.0030.00416.77
7.4.190.0000.00716.93
7.4.180.0000.00716.91
7.4.160.0030.00916.75
7.4.150.0020.01116.98
7.4.140.0060.01317.49
7.4.130.0100.00316.72
7.4.120.0080.00716.71
7.4.110.0040.00816.65
7.4.100.0070.00816.56
7.4.90.0080.00516.69
7.4.80.0070.00718.14
7.4.70.0050.00716.78
7.4.60.0020.01016.54
7.4.50.0070.00616.55
7.4.40.0100.00616.55
7.4.30.0090.00816.63
7.4.20.0100.00616.59
7.4.10.0060.01116.28
7.4.00.0060.01116.26
7.3.330.0040.00413.29
7.3.320.0000.00613.24
7.3.310.0070.00016.28
7.3.300.0040.00316.31
7.3.290.0050.00816.36
7.3.280.0060.00916.32
7.3.270.0050.00616.84
7.3.260.0050.00716.58
7.3.250.0030.00316.24
7.3.240.0040.01016.52
7.3.230.0060.00616.35
7.3.220.0030.00316.29
7.3.210.0040.00816.45
7.3.200.0060.00916.46
7.3.190.0020.01116.39
7.3.180.0030.00816.59
7.3.170.0030.01016.32
7.3.160.0080.00716.49
7.3.150.0080.00816.54
7.3.140.0100.00716.41
7.3.130.0080.00816.32
7.3.120.0080.00916.02
7.3.110.0090.00816.14
7.3.100.0080.00816.02
7.3.90.0100.00716.10
7.3.80.0070.00915.98
7.3.70.0090.00616.07
7.3.60.0050.01016.00
7.3.50.0080.00816.06
7.3.40.0090.00716.07
7.3.30.0090.00716.06
7.3.20.0090.00916.80
7.3.10.0080.01016.72
7.3.00.0110.00616.81
7.2.340.0040.00416.58
7.2.330.0070.00516.65
7.2.320.0080.00416.68
7.2.310.0070.00616.65
7.2.300.0050.00716.70
7.2.290.0090.00916.60
7.2.280.0120.00616.71
7.2.270.0090.00916.63
7.2.260.0100.00816.43
7.2.250.0100.00716.40
7.2.240.0060.01116.26
7.2.230.0090.00716.25
7.2.220.0080.00916.30
7.2.210.0080.00916.26
7.2.200.0090.00916.29
7.2.190.0090.00916.28
7.2.180.0080.00816.27
7.2.170.0080.00916.24
7.2.160.0080.00916.31
7.2.150.0100.00817.04
7.2.140.0100.00817.04
7.2.130.0120.00917.00
7.2.120.0120.00816.95
7.2.110.0080.00917.00
7.2.100.0100.01017.04
7.2.90.0100.00717.04
7.2.80.0090.01016.99
7.2.70.0090.01117.07
7.2.60.0080.01017.02
7.2.50.0060.01117.05
7.2.40.0140.00817.07
7.2.30.0100.01117.11
7.2.20.0100.00817.00
7.2.10.0100.00717.05
7.2.00.0070.01017.00
7.1.330.0090.00816.00
7.1.320.0100.00616.00
7.1.310.0080.00815.89
7.1.300.0090.00816.01
7.1.290.0070.00915.99
7.1.280.0090.00815.96
7.1.270.0090.00915.96
7.1.260.0060.01015.87
7.1.250.0070.01015.92
7.1.240.0090.00815.96
7.1.230.0070.00915.91
7.1.220.0050.01215.89
7.1.210.0090.00715.88
7.1.200.0100.00615.94
7.1.190.0080.00915.93
7.1.180.0080.00915.94
7.1.170.0100.00715.90
7.1.160.0090.00915.88
7.1.150.0090.00915.96
7.1.140.0110.00715.84
7.1.130.0110.00715.88
7.1.120.0070.01015.98
7.1.110.0080.00816.01
7.1.100.0060.00915.97
7.1.90.0100.00716.00
7.1.80.0080.00815.99
7.1.70.0100.00816.11
7.1.60.0110.00616.15
7.1.50.0110.00616.12
7.1.40.0080.00916.12
7.1.30.0120.00616.02
7.1.20.0090.00815.99
7.1.10.0070.00816.02
7.1.00.0070.00815.96
7.0.330.0070.00915.63
7.0.320.0110.00715.61
7.0.310.0070.00915.60
7.0.300.0070.01015.71
7.0.290.0120.00515.60
7.0.280.0090.00815.54
7.0.270.0100.00615.71
7.0.260.0090.00815.57
7.0.250.0090.00815.74
7.0.240.0080.00715.62
7.0.230.0050.01115.62
7.0.220.0090.00715.71
7.0.210.0100.00815.62
7.0.200.0130.00715.76
7.0.190.0090.00715.72
7.0.180.0090.00815.64
7.0.170.0050.00915.70
7.0.160.0090.00715.72
7.0.150.0070.00815.81
7.0.140.0060.01015.73
7.0.130.0090.00715.83
7.0.120.0100.00515.85
7.0.110.0090.00715.74
7.0.100.0050.01015.64
7.0.90.0090.00815.76
7.0.80.0090.00815.71
7.0.70.0090.00815.77
7.0.60.0080.00615.71
7.0.50.0100.00715.72
7.0.40.0070.00815.21
7.0.30.0070.00815.33
7.0.20.0070.00715.21
7.0.10.0090.00815.33
7.0.00.0080.00715.30
5.6.400.0100.00815.51
5.6.390.0080.00915.70
5.6.380.0070.01115.55
5.6.370.0070.01215.65
5.6.360.0080.01015.73
5.6.350.0070.01215.68
5.6.340.0090.01015.61
5.6.330.0090.01015.70
5.6.320.0080.01115.69
5.6.310.0100.01015.63
5.6.300.0100.01116.22
5.6.290.0080.01516.27
5.6.280.0070.01716.28
5.6.270.0070.02016.17
5.6.260.0070.01516.34
5.6.250.0090.01316.25
5.6.240.0060.01416.30
5.6.230.0080.01316.22
5.6.220.0040.01616.25
5.6.210.0090.01216.28
5.6.200.0080.01516.26
5.6.190.0080.01316.27
5.6.180.0070.01416.26
5.6.170.0060.01416.25
5.6.160.0070.01416.28
5.6.150.0080.01316.28
5.6.140.0060.01616.26
5.6.130.0060.01616.36
5.6.120.0060.01716.23
5.6.110.0100.01116.26
5.6.100.0080.01416.10
5.6.90.0080.01616.20
5.6.80.0040.01616.00
5.6.70.0070.01316.18
5.6.60.0080.01316.09
5.6.50.0060.01516.05
5.6.40.0090.01116.17
5.6.30.0080.01216.13
5.6.20.0100.01216.13
5.6.10.0100.01316.03
5.6.00.0090.01116.09
5.5.380.0100.01316.04
5.5.370.0100.01416.03
5.5.360.0080.01516.02
5.5.350.0080.01415.97
5.5.340.0050.01615.97
5.5.330.0070.01815.90
5.5.320.0110.01215.97
5.5.310.0060.01616.01
5.5.300.0080.01516.16
5.5.290.0080.01516.07
5.5.280.0090.01515.99
5.5.270.0080.01415.98
5.5.260.0080.01516.02
5.5.250.0080.01415.99
5.5.240.0120.01015.89
5.5.230.0080.01415.83
5.5.220.0080.01415.93
5.5.210.0090.01315.98
5.5.200.0120.01215.95
5.5.190.0090.01415.89
5.5.180.0100.01315.86
5.5.170.0110.00715.50
5.5.160.0100.01315.94
5.5.150.0100.01315.83
5.5.140.0100.01315.87
5.5.130.0080.01515.87
5.5.120.0070.01415.88
5.5.110.0080.01415.84
5.5.100.0080.01315.95
5.5.90.0060.01615.90
5.5.80.0060.01615.90
5.5.70.0100.01115.87
5.5.60.0060.01615.90
5.5.50.0100.01315.90
5.5.40.0080.01415.84
5.5.30.0080.01415.95
5.5.20.0090.01515.90
5.5.10.0100.01415.97
5.5.00.0090.01515.75

preferences:
58.82 ms | 401 KiB | 5 Q