3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = '<p class="post_content">[iframe width="256" height="175" src="http://www.youtube.com/embed/ICx3AfSlc-w" frameborder="0" allowfullscreen]</p> <div class="post_source_linkbar"> <img class="post_source_logo" src="http://economyincrisis.org/wp-content/uploads/2011/08/EICtext5.png"><img class="post_source_icon" title="Economy In Crisis" src="http://www.google.com/s2/favicons?domain=http%3A%2F%2Feconomyincrisis.org%2F">Source</div>'; preg_match('/https?:\/\/(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/ytscreeningroom\?v=|\/feeds\/api\/videos\/|\/user\S*[^\w\-\s]|\S*[^\w\-\s]))([\w\-]{11})[?=&+%\w-]*/i', $_content, $media); var_dump($media);

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.0110.00418.30
8.3.50.0100.00821.08
8.3.40.0040.01118.75
8.3.30.0120.00318.69
8.3.20.0050.00220.34
8.3.10.0050.00323.48
8.3.00.0050.00322.43
8.2.180.0030.01418.41
8.2.170.0040.01122.96
8.2.160.0140.00022.33
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0050.00321.31
8.2.110.0000.00920.52
8.2.100.0090.00317.91
8.2.90.0070.00019.02
8.2.80.0030.00617.97
8.2.70.0030.00617.38
8.2.60.0070.00217.80
8.2.50.0000.00818.07
8.2.40.0000.00821.19
8.2.30.0040.00417.92
8.2.20.0000.00817.67
8.2.10.0040.00417.93
8.2.00.0000.00817.96
8.1.280.0070.01425.92
8.1.270.0080.00020.38
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.79
8.1.230.0040.00821.94
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0000.01117.47
8.1.190.0000.00817.35
8.1.180.0080.00018.10
8.1.170.0080.00018.64
8.1.160.0040.00423.70
8.1.150.0090.00018.81
8.1.140.0030.00517.50
8.1.130.0000.00917.74
8.1.120.0030.00617.47
8.1.110.0050.00317.40
8.1.100.0000.00817.56
8.1.90.0020.00517.61
8.1.80.0000.00717.53
8.1.70.0000.00717.44
8.1.60.0000.00817.67
8.1.50.0050.00317.53
8.1.40.0080.00017.63
8.1.30.0000.00817.68
8.1.20.0040.00417.72
8.1.10.0000.00817.73
8.1.00.0030.00617.64
8.0.300.0050.00318.77
8.0.290.0000.00816.88
8.0.280.0090.00018.30
8.0.270.0030.00317.20
8.0.260.0030.00317.23
8.0.250.0040.00417.09
8.0.240.0000.00716.95
8.0.230.0040.00416.93
8.0.220.0000.00717.00
8.0.210.0040.00416.97
8.0.200.0000.00617.01
8.0.190.0070.00016.94
8.0.180.0000.00717.00
8.0.170.0030.00617.07
8.0.160.0000.00717.10
8.0.150.0060.00616.82
8.0.140.0000.00716.98
8.0.130.0030.00313.50
8.0.120.0000.00716.93
8.0.110.0000.00717.00
8.0.100.0040.00316.82
8.0.90.0000.00716.78
8.0.80.0060.00917.07
8.0.70.0000.00716.86
8.0.60.0000.00816.89
8.0.50.0050.00316.95
8.0.30.0060.01217.18
8.0.20.0090.00917.40
8.0.10.0040.00417.06
8.0.00.0100.00816.80
7.4.330.0030.00315.11
7.4.320.0000.00816.74
7.4.300.0070.00016.66
7.4.290.0030.00316.67
7.4.280.0000.00816.65
7.4.270.0020.00516.64
7.4.260.0030.00416.61
7.4.250.0000.00816.74
7.4.240.0040.00416.73
7.4.230.0000.00816.81
7.4.220.0130.00616.82
7.4.210.0060.00916.64
7.4.200.0000.00716.88
7.4.160.0060.01016.73
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0090.01516.51
7.4.120.0070.01016.61
7.4.110.0110.00616.50
7.4.100.0100.00716.46
7.4.90.0040.01516.70
7.4.80.0140.00319.39
7.4.70.0150.00316.60
7.4.60.0060.01016.93
7.4.50.0020.00216.52
7.4.40.0100.00716.60
7.4.30.0070.01016.64
7.4.00.0060.00614.98
7.3.330.0000.00613.22
7.3.320.0030.00313.20
7.3.310.0040.00416.23
7.3.300.0030.00316.29
7.3.290.0070.00916.28
7.3.280.0140.00516.32
7.3.270.0140.00317.40
7.3.260.0100.00716.34
7.3.250.0090.01016.40
7.3.240.0080.00916.67
7.3.230.0080.00816.40
7.3.210.0120.00616.63
7.3.200.0110.00619.39
7.3.190.0140.00416.57
7.3.180.0130.00316.59
7.3.170.0090.00916.36
7.3.160.0100.01016.45
7.3.10.0260.00016.22
7.3.00.0140.00716.02
7.2.330.0090.01216.58
7.2.320.0140.01016.74
7.2.310.0090.01016.57
7.2.300.0070.01016.70
7.2.290.0040.01416.63
7.2.130.0180.00916.59
7.2.120.0230.00816.81
7.2.110.0240.00316.67
7.2.100.0210.00916.45
7.2.90.0090.00916.29
7.2.80.0250.00716.88
7.2.70.0170.01016.52
7.2.60.0120.01516.33
7.2.50.0120.01216.26
7.2.40.0120.01616.63
7.2.30.0180.00416.64
7.2.20.0190.00316.67
7.2.10.0110.00416.35
7.2.00.0030.01616.99
7.1.250.0160.00415.55
7.1.100.0990.00616.29
7.1.70.0030.00717.32
7.1.60.0060.01820.03
7.1.50.0040.01417.09
7.1.00.0000.08022.38
7.0.200.0270.00714.77
7.0.60.0130.06019.89
7.0.50.0100.07317.82
7.0.40.0070.04320.33
7.0.30.0630.06720.06
7.0.20.0300.07320.32
7.0.10.0300.05720.32
7.0.00.0000.04320.02
5.6.280.0070.06320.90
5.6.210.0070.07320.76
5.6.200.0170.07018.23
5.6.190.0000.05720.43
5.6.180.0230.05020.39
5.6.170.0530.03320.41
5.6.160.0100.07020.40
5.6.150.0030.04318.08
5.6.140.0070.05018.18
5.6.130.0130.07018.13
5.6.120.0100.08721.13
5.6.110.0000.04320.97
5.6.100.0130.03321.13
5.6.90.0000.04321.13
5.6.80.0030.08020.40
5.6.70.0300.07320.27
5.5.350.0000.05020.33
5.5.340.0030.09018.04
5.5.330.0030.04020.23
5.5.320.0130.05320.21
5.5.310.0200.03720.17
5.5.300.0000.06017.88
5.5.290.0100.04017.89
5.5.280.0100.05020.79
5.5.270.0170.07320.87
5.5.260.0000.05020.95
5.5.250.0200.07020.68
5.5.240.0000.08020.25
5.4.450.0730.05719.63
5.4.440.0870.05319.48
5.4.430.0600.06019.48
5.4.420.0630.06019.48
5.4.410.0830.07319.14
5.4.400.0800.06719.09
5.4.390.0830.05019.24
5.4.380.0900.05719.27
5.4.370.0800.05319.00
5.4.360.0830.05719.27
5.4.350.0770.05319.24
5.4.340.0700.05319.05
5.4.320.0700.05319.12
5.4.310.0870.05319.23
5.4.300.0830.06319.29
5.4.290.0830.05019.09
5.4.280.0930.06318.99
5.4.270.0770.05319.27
5.4.260.0730.04719.27
5.4.250.0770.04318.98
5.4.240.0730.05019.26
5.4.230.0830.06719.14
5.4.220.0930.04719.25
5.4.210.0800.06019.24
5.4.200.0670.05016.65
5.4.190.0900.05719.25
5.4.180.0870.05718.91
5.4.170.0830.05719.27
5.4.160.0930.07318.95
5.4.150.1000.06719.05
5.4.140.1030.05716.52
5.4.130.0970.04716.43
5.4.120.0730.06016.18
5.4.110.0470.04716.52
5.4.100.0200.04316.18
5.4.90.0170.05316.37
5.4.80.0630.05716.53
5.4.70.1130.04716.27
5.4.60.0030.07016.04
5.4.50.0000.06716.24
5.4.40.0070.07016.47
5.4.30.0270.06716.20
5.4.20.0370.07316.27

preferences:
32.2 ms | 401 KiB | 5 Q