3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = '<blockquote class="twitter-tweet" data-lang="ja"><p lang="en" dir="ltr">Thank you ! ~ that is all :) <a href="https://t.co/4evflUT84g">pic.twitter.com/4evflUT84g</a></p>— Chicago Police (@Chicago_Police) <a href="https://twitter.com/Chicago_Police/status/877727536125419520">2017年6月22日</a></blockquote><script async="" src="//platform.twitter.com/widgets.js" charset="utf-8"></script>'; $body = preg_replace_callback('!(https://twitter.com/[^/]+?/status/\d+)!s', function ($matches) { return '[[embed-twitter]](' . trim($matches[1]) . ')'; }, $body); $body = preg_replace_callback('!(<blockquote class="twitter-tweet" data-lang="ja">.*?</blockquote>)!s', function ($matches) { return '[[embed-twitter]](' . trim($matches[2]) . ')'; }, $body); echo $body; ?>

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.00618.55
8.3.50.0130.00616.34
8.3.40.0110.00419.01
8.3.30.0140.00418.88
8.3.20.0030.00519.15
8.3.10.0030.00621.90
8.3.00.0050.00319.72
8.2.180.0100.00718.54
8.2.170.0150.00022.96
8.2.160.0070.00720.47
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0090.00026.16
8.2.120.0060.00319.79
8.2.110.0030.00620.35
8.2.100.0100.00418.03
8.2.90.0060.00319.21
8.2.80.0060.00318.04
8.2.70.0030.00617.75
8.2.60.0040.00418.03
8.2.50.0030.00618.16
8.2.40.0000.00720.45
8.2.30.0000.00819.32
8.2.20.0050.00318.09
8.2.10.0030.00518.23
8.2.00.0040.00418.13
8.1.280.0150.00325.92
8.1.270.0080.00023.78
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.00922.15
8.1.230.0120.00020.88
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0000.01017.47
8.1.190.0090.00017.48
8.1.180.0000.00718.10
8.1.170.0050.00318.67
8.1.160.0030.00518.98
8.1.150.0000.00718.94
8.1.140.0000.00719.57
8.1.130.0070.00018.92
8.1.120.0040.00417.68
8.1.110.0040.00417.62
8.1.100.0050.00217.59
8.1.90.0000.00917.58
8.1.80.0000.00717.64
8.1.70.0070.00017.64
8.1.60.0060.00317.82
8.1.50.0000.00817.68
8.1.40.0070.00417.69
8.1.30.0000.00817.86
8.1.20.0030.00617.75
8.1.10.0080.00017.62
8.1.00.0050.00317.63
8.0.300.0040.00418.77
8.0.290.0040.00417.00
8.0.280.0000.00818.41
8.0.270.0040.00417.20
8.0.260.0040.00417.07
8.0.250.0070.00017.25
8.0.240.0000.00917.24
8.0.230.0070.00017.18
8.0.220.0030.00317.02
8.0.210.0000.00717.01
8.0.200.0000.00717.17
8.0.190.0060.00317.19
8.0.180.0040.00417.03
8.0.170.0040.00417.17
8.0.160.0080.00017.15
8.0.150.0050.00217.10
8.0.140.0040.00417.11
8.0.130.0000.00813.52
8.0.120.0050.00217.07
8.0.110.0040.00417.20
8.0.100.0000.00817.14
8.0.90.0000.00717.01
8.0.80.0100.00717.14
8.0.70.0050.00317.17
8.0.60.0070.00017.12
8.0.50.0040.00417.20
8.0.30.0110.00817.48
8.0.20.0160.00917.44
8.0.10.0000.00817.08
8.0.00.0070.01116.70
7.4.330.0020.00215.55
7.4.320.0000.00716.82
7.4.300.0040.00416.75
7.4.290.0030.00616.61
7.4.280.0040.00416.84
7.4.270.0070.00016.83
7.4.260.0060.00316.79
7.4.250.0040.00416.73
7.4.240.0030.00316.81
7.4.230.0000.00816.82
7.4.220.0060.00916.89
7.4.210.0080.01016.86
7.4.200.0030.00316.65
7.4.160.0090.00816.82
7.4.150.0120.00617.40
7.4.140.0130.00717.86
7.4.130.0100.00716.91
7.4.120.0100.00916.78
7.4.110.0060.01616.58
7.4.100.0100.01016.68
7.4.90.0040.01416.62
7.4.80.0070.01119.39
7.4.70.0090.00916.71
7.4.60.0080.00816.77
7.4.50.0060.00916.82
7.4.40.0050.01116.74
7.4.30.0060.01216.91
7.4.00.0070.01015.34
7.3.330.0000.00513.60
7.3.320.0000.00613.43
7.3.310.0030.00516.59
7.3.300.0030.00316.65
7.3.290.0030.00316.46
7.3.280.0100.00616.50
7.3.270.0040.01717.40
7.3.260.0090.00916.61
7.3.250.0100.00716.61
7.3.240.0060.01216.78
7.3.230.0120.00616.68
7.3.210.0110.00716.68
7.3.200.0030.01516.69
7.3.190.0170.00516.54
7.3.180.0130.00316.78
7.3.170.0090.00816.75
7.3.160.0090.00616.53
7.2.330.0090.00916.79
7.2.320.0060.01216.82
7.2.310.0110.01416.77
7.2.300.0030.01216.97
7.2.290.0060.01616.71
7.2.60.0060.00917.30
7.2.00.0120.00919.76
7.1.200.0110.00815.97
7.1.100.0100.00318.44
7.1.70.0000.00817.23
7.1.60.1470.01033.56
7.1.50.1700.01333.18
7.1.40.2070.01332.61
7.1.30.2800.01032.84
7.1.20.2200.01733.05
7.1.10.2000.01314.88
7.1.00.1970.01015.06
7.0.200.2670.01314.98
7.0.190.2170.01715.01
7.0.180.2500.00714.57
7.0.170.2500.01014.66
7.0.160.2530.00714.52
7.0.150.1770.01014.73
7.0.140.1870.01314.98
7.0.130.1470.00714.98
7.0.120.1370.01315.09
7.0.110.1630.01314.79
7.0.100.1700.00714.82
7.0.90.2200.01714.61
7.0.80.1930.01714.68
7.0.70.2130.01014.71
7.0.60.2500.00314.57
7.0.50.1630.01714.78
7.0.40.1770.01014.92
7.0.30.1870.00714.93
7.0.20.2030.01014.85
7.0.10.2600.01014.76
7.0.00.2500.00314.95

preferences:
57.62 ms | 400 KiB | 5 Q