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" .*?<\/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.0040.01218.40
8.3.50.0130.00616.80
8.3.40.0110.00318.84
8.3.30.0130.00319.09
8.3.20.0000.00819.02
8.3.10.0080.00021.90
8.3.00.0040.00419.79
8.2.180.0090.00616.75
8.2.170.0140.00422.96
8.2.160.0100.00320.27
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0030.00620.52
8.2.120.0040.00426.35
8.2.110.0070.00320.98
8.2.100.0060.00617.91
8.2.90.0080.00019.36
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0030.00618.05
8.2.50.0000.00918.16
8.2.40.0030.00522.29
8.2.30.0040.00419.49
8.2.20.0050.00318.21
8.2.10.0070.00018.08
8.2.00.0070.00018.24
8.1.280.0130.00725.92
8.1.270.0080.00023.78
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.80
8.1.230.0080.00317.89
8.1.220.0000.00817.77
8.1.210.0050.00318.77
8.1.200.0040.00417.48
8.1.190.0060.00317.48
8.1.180.0050.00318.10
8.1.170.0000.00818.63
8.1.160.0040.00418.98
8.1.150.0030.00518.93
8.1.140.0000.00719.62
8.1.130.0070.00018.98
8.1.120.0070.00017.63
8.1.110.0000.00817.55
8.1.100.0000.00817.52
8.1.90.0070.00417.61
8.1.80.0000.00717.63
8.1.70.0000.00817.63
8.1.60.0050.00317.68
8.1.50.0040.00417.66
8.1.40.0000.00917.58
8.1.30.0040.00417.78
8.1.20.0050.00317.68
8.1.10.0000.00817.79
8.1.00.0040.00417.69
8.0.300.0040.00418.77
8.0.290.0070.00016.88
8.0.280.0030.00318.47
8.0.270.0080.00017.20
8.0.260.0040.00416.96
8.0.250.0000.00717.19
8.0.240.0040.00417.14
8.0.230.0000.00717.03
8.0.220.0000.00717.10
8.0.210.0050.00317.00
8.0.200.0030.00317.05
8.0.190.0030.00517.13
8.0.180.0030.00517.10
8.0.170.0000.00717.06
8.0.160.0070.00017.00
8.0.150.0080.00017.09
8.0.140.0040.00417.11
8.0.130.0040.00413.52
8.0.120.0080.00017.12
8.0.110.0000.00717.14
8.0.100.0050.00217.15
8.0.90.0000.00717.18
8.0.80.0100.00716.99
8.0.70.0040.00417.15
8.0.60.0070.00017.14
8.0.50.0040.00416.93
8.0.30.0090.00917.27
8.0.20.0090.01117.48
8.0.10.0000.00717.05
8.0.00.0100.01016.72
7.4.330.0050.00015.55
7.4.320.0030.00316.81
7.4.300.0000.00616.83
7.4.290.0090.00016.71
7.4.280.0040.00416.70
7.4.270.0000.00716.82
7.4.260.0080.00016.81
7.4.250.0030.00616.70
7.4.240.0080.00016.78
7.4.230.0030.00316.86
7.4.220.0090.00616.76
7.4.210.0050.01016.76
7.4.200.0030.00316.56
7.4.160.0100.00716.86
7.4.150.0110.00717.40
7.4.140.0070.01317.86
7.4.130.0120.01216.69
7.4.120.0120.00816.75
7.4.110.0120.01216.72
7.4.100.0150.00916.95
7.4.90.0180.00016.77
7.4.80.0150.00719.39
7.4.70.0140.00316.82
7.4.60.0120.00616.79
7.4.50.0100.00316.57
7.4.40.0130.00316.88
7.4.30.0100.00716.82
7.4.00.0030.01215.29
7.3.330.0000.00513.64
7.3.320.0000.00513.35
7.3.310.0070.00016.63
7.3.300.0000.00716.58
7.3.290.0040.00416.54
7.3.280.0090.00716.49
7.3.270.0100.00717.40
7.3.260.0120.00516.76
7.3.250.0150.00316.61
7.3.240.0100.00816.75
7.3.230.0150.00416.70
7.3.210.0090.00916.55
7.3.200.0090.00916.50
7.3.190.0080.00916.49
7.3.180.0060.00916.64
7.3.170.0220.00616.88
7.3.160.0000.01716.70
7.3.120.0110.00615.11
7.3.110.0080.01115.01
7.3.100.0100.00315.08
7.3.90.0000.01415.00
7.3.80.0040.00715.03
7.3.70.0080.00414.88
7.3.60.0080.00815.07
7.3.50.0040.01115.08
7.3.40.0030.00715.02
7.3.30.0080.00315.11
7.3.20.0000.01316.67
7.3.10.0090.00616.97
7.3.00.0060.00916.75
7.2.330.0100.00816.96
7.2.320.0090.00916.92
7.2.310.0100.00717.02
7.2.300.0130.00316.73
7.2.290.0050.01116.66
7.2.250.0070.01314.84
7.2.240.0030.01315.05
7.2.230.0100.00315.34
7.2.220.0060.01115.30
7.2.210.0060.01215.43
7.2.200.0030.01315.22
7.2.190.0000.01315.08
7.2.180.0090.00615.05
7.2.170.0000.01114.97
7.2.60.0120.00616.92
7.2.00.0000.01519.75
7.1.330.0110.00415.76
7.1.320.0030.01015.89
7.1.310.0030.01016.05
7.1.300.0110.00315.98
7.1.290.0060.00615.67
7.1.280.0030.00716.07
7.1.270.0030.00915.65
7.1.260.0100.00315.63
7.1.200.0060.00615.72
7.1.100.0050.00517.95
7.1.70.0000.00717.01
7.1.60.3800.01333.14
7.1.50.3600.01333.08
7.1.40.1600.01332.96
7.1.30.1300.02732.84
7.1.20.0930.01733.11
7.1.10.3800.01314.75
7.1.00.2970.00315.31
7.0.200.4130.01015.22
7.0.190.4130.01315.15
7.0.180.2770.01314.59
7.0.170.2430.01314.57
7.0.160.1900.01314.72
7.0.150.3000.01014.61
7.0.140.3030.01315.00
7.0.130.2470.01315.04
7.0.120.2400.01314.98
7.0.110.2200.00714.56
7.0.100.2430.02014.79
7.0.90.0200.01714.45
7.0.80.2570.00714.95
7.0.70.2230.01014.88
7.0.60.1800.01314.71
7.0.50.2170.01014.50
7.0.40.2100.01315.11
7.0.30.1630.01014.76
7.0.20.0270.01714.67
7.0.10.1870.01314.52
7.0.00.2130.01714.80

preferences:
53.3 ms | 400 KiB | 5 Q