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.cm/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('!(<blockquote class="twitter-tweet" data-lang="ja">.*?</blockquote>.+?twitter.com.+?<\/script>)!s', function ($matches) { var_dump($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.0150.00418.68
8.3.50.0100.00716.41
8.3.40.0050.01019.06
8.3.30.0070.00719.09
8.3.20.0040.00418.96
8.3.10.0050.00221.95
8.3.00.0030.00519.79
8.2.180.0120.00618.64
8.2.170.0110.00422.96
8.2.160.0120.00620.17
8.2.150.0070.00025.66
8.2.140.0060.00324.66
8.2.130.0040.00420.52
8.2.120.0080.00026.35
8.2.110.0030.00622.22
8.2.100.0090.00418.16
8.2.90.0000.00819.18
8.2.80.0080.00017.97
8.2.70.0050.00517.88
8.2.60.0000.00817.93
8.2.50.0060.00318.10
8.2.40.0030.00520.47
8.2.30.0030.00521.25
8.2.20.0090.00018.07
8.2.10.0030.00518.23
8.2.00.0070.00018.08
8.1.280.0160.00325.92
8.1.270.0040.00423.92
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0130.00321.36
8.1.230.0040.00717.52
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0090.00017.48
8.1.190.0030.00517.47
8.1.180.0040.00418.10
8.1.170.0090.00018.45
8.1.160.0080.00019.07
8.1.150.0050.00218.94
8.1.140.0080.00019.61
8.1.130.0040.00418.86
8.1.120.0040.00417.53
8.1.110.0050.00317.66
8.1.100.0050.00317.54
8.1.90.0030.00717.64
8.1.80.0040.00417.70
8.1.70.0030.00317.54
8.1.60.0040.00417.66
8.1.50.0030.00517.65
8.1.40.0070.00317.58
8.1.30.0030.00717.81
8.1.20.0040.00417.79
8.1.10.0050.00317.63
8.1.00.0040.00417.73
8.0.300.0040.00418.77
8.0.290.0050.00316.88
8.0.280.0030.00318.48
8.0.270.0040.00417.20
8.0.260.0000.00617.00
8.0.250.0000.00817.20
8.0.240.0060.00317.07
8.0.230.0000.00717.07
8.0.220.0000.00717.11
8.0.210.0030.00317.01
8.0.200.0030.00317.05
8.0.190.0080.00017.18
8.0.180.0040.00417.13
8.0.170.0030.00317.03
8.0.160.0000.00717.14
8.0.150.0070.00016.95
8.0.140.0070.00017.09
8.0.130.0000.00813.54
8.0.120.0000.00917.14
8.0.110.0040.00417.05
8.0.100.0050.00216.92
8.0.90.0000.00817.16
8.0.80.0110.00717.02
8.0.70.0050.00317.20
8.0.60.0040.00417.17
8.0.50.0000.00717.11
8.0.30.0100.01017.15
8.0.20.0090.01017.48
8.0.10.0040.00417.07
8.0.00.0130.00517.19
7.4.330.0000.00415.55
7.4.320.0030.00516.81
7.4.300.0060.00016.74
7.4.290.0110.00016.87
7.4.280.0080.00016.83
7.4.270.0000.00816.76
7.4.260.0030.00316.80
7.4.250.0040.00416.74
7.4.240.0000.00716.75
7.4.230.0070.00016.70
7.4.220.0130.00316.66
7.4.210.0080.00916.81
7.4.200.0000.00716.80
7.4.160.0080.01316.72
7.4.150.0150.00317.40
7.4.140.0150.00717.86
7.4.130.0120.00616.77
7.4.120.0120.00816.83
7.4.110.0060.01316.73
7.4.100.0140.00916.72
7.4.90.0000.01916.65
7.4.80.0080.00819.39
7.4.70.0090.00916.84
7.4.60.0030.01316.73
7.4.50.0040.01516.66
7.4.40.0120.00616.68
7.4.30.0160.00016.68
7.4.00.0050.01215.18
7.3.330.0000.00513.59
7.3.320.0000.00513.61
7.3.310.0040.00416.39
7.3.300.0000.00716.63
7.3.290.0030.00316.39
7.3.280.0070.00916.49
7.3.270.0090.00917.40
7.3.260.0120.00416.61
7.3.250.0120.00916.60
7.3.240.0120.00516.62
7.3.230.0180.00016.80
7.3.210.0140.00316.46
7.3.200.0100.00716.88
7.3.190.0040.01516.72
7.3.180.0100.00716.80
7.3.170.0070.01316.62
7.3.160.0100.01316.68
7.3.120.0060.01314.96
7.3.110.0030.01315.09
7.3.100.0090.00615.00
7.3.90.0070.00315.10
7.3.80.0080.00315.06
7.3.70.0060.00614.87
7.3.60.0060.00915.01
7.3.50.0040.00715.14
7.3.40.0000.01215.00
7.3.30.0100.00714.88
7.3.20.0090.00617.16
7.3.10.0060.01216.77
7.3.00.0060.01316.71
7.2.330.0150.00316.63
7.2.320.0040.01416.92
7.2.310.0060.01016.82
7.2.300.0100.00716.85
7.2.290.0100.00616.84
7.2.250.0060.01215.30
7.2.240.0160.00315.27
7.2.230.0000.01415.43
7.2.220.0060.00915.21
7.2.210.0030.00715.25
7.2.200.0070.01015.36
7.2.190.0060.00615.13
7.2.180.0130.00315.02
7.2.170.0000.00915.21
7.2.60.0100.01016.72
7.2.00.0030.01419.66
7.1.330.0070.00716.01
7.1.320.0070.00716.08
7.1.310.0040.00716.01
7.1.300.0030.01315.89
7.1.290.0030.00615.87
7.1.280.0040.01116.16
7.1.270.0070.01015.85
7.1.260.0060.00915.77
7.1.200.0080.00415.71
7.1.100.0040.00718.04
7.1.70.0040.00417.35
7.1.60.2130.01033.46
7.1.50.1000.01732.91
7.1.40.2570.02332.91
7.1.30.3900.01032.92
7.1.20.0770.01333.24
7.1.10.2400.01015.08
7.1.00.2500.01314.86
7.0.200.2530.01015.10
7.0.190.3330.01315.08
7.0.180.2730.01714.66
7.0.170.3930.02314.66
7.0.160.0530.01714.78
7.0.150.2270.01714.56
7.0.140.2670.01014.69
7.0.130.2400.01014.69
7.0.120.2300.02014.85
7.0.110.2370.01314.67
7.0.100.2170.02014.62
7.0.90.1970.01314.79
7.0.80.2330.01714.78
7.0.70.2070.01714.57
7.0.60.2100.01714.66
7.0.50.1970.01714.71
7.0.40.1800.01314.80
7.0.30.1930.00314.65
7.0.20.1900.01314.99
7.0.10.1700.01314.74
7.0.00.1730.00714.77

preferences:
53.42 ms | 401 KiB | 5 Q