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.0150.00316.88
8.3.50.0090.00916.74
8.3.40.0040.01118.97
8.3.30.0070.00718.96
8.3.20.0040.00419.20
8.3.10.0000.00721.65
8.3.00.0000.00819.78
8.2.180.0120.00318.91
8.2.170.0110.00422.96
8.2.160.0150.00320.32
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0000.00820.47
8.2.120.0080.00026.35
8.2.110.0080.00322.29
8.2.100.0040.00818.09
8.2.90.0040.00419.34
8.2.80.0030.00617.97
8.2.70.0090.00018.00
8.2.60.0030.00617.92
8.2.50.0000.00918.10
8.2.40.0000.00822.46
8.2.30.0080.00021.11
8.2.20.0030.00618.22
8.2.10.0000.00818.16
8.2.00.0030.00518.10
8.1.280.0140.00325.92
8.1.270.0080.00023.90
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0050.00521.42
8.1.230.0120.00017.66
8.1.220.0060.00317.78
8.1.210.0040.00418.77
8.1.200.0060.00317.38
8.1.190.0030.00517.47
8.1.180.0030.00518.10
8.1.170.0080.00018.81
8.1.160.0050.00318.98
8.1.150.0080.00018.94
8.1.140.0030.00519.58
8.1.130.0000.00819.00
8.1.120.0040.00417.68
8.1.110.0030.00517.59
8.1.100.0000.00817.63
8.1.90.0030.00617.51
8.1.80.0030.00517.60
8.1.70.0030.00317.49
8.1.60.0000.00817.77
8.1.50.0040.00417.71
8.1.40.0030.00717.74
8.1.30.0040.00417.80
8.1.20.0000.00817.70
8.1.10.0040.00417.64
8.1.00.0040.00417.73
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0040.00418.48
8.0.270.0040.00417.20
8.0.260.0000.00617.04
8.0.250.0030.00317.16
8.0.240.0030.00517.06
8.0.230.0030.00317.17
8.0.220.0000.00817.08
8.0.210.0000.00717.00
8.0.200.0070.00017.03
8.0.190.0000.00817.25
8.0.180.0050.00217.18
8.0.170.0000.00717.12
8.0.160.0000.00717.09
8.0.150.0070.00017.01
8.0.140.0030.00317.09
8.0.130.0080.00013.57
8.0.120.0040.00417.06
8.0.110.0000.00817.15
8.0.100.0040.00417.22
8.0.90.0040.00417.09
8.0.80.0100.00717.15
8.0.70.0040.00416.89
8.0.60.0000.00717.09
8.0.50.0000.00716.93
8.0.30.0100.01017.28
8.0.20.0130.00617.42
8.0.10.0000.00717.18
8.0.00.0120.00417.04
7.4.330.0050.00015.55
7.4.320.0050.00316.62
7.4.300.0040.00416.74
7.4.290.0000.00816.57
7.4.280.0000.00716.84
7.4.270.0030.00316.64
7.4.260.0040.00416.66
7.4.250.0040.00416.80
7.4.240.0000.00716.63
7.4.230.0030.00316.82
7.4.220.0100.00716.73
7.4.210.0090.00616.70
7.4.200.0030.00316.63
7.4.160.0070.01216.71
7.4.150.0070.01017.40
7.4.140.0120.00817.86
7.4.130.0110.01116.84
7.4.120.0110.01216.82
7.4.110.0030.01516.68
7.4.100.0140.00316.70
7.4.90.0110.00816.76
7.4.80.0100.01319.39
7.4.70.0130.00516.75
7.4.60.0150.00316.71
7.4.50.0080.00816.79
7.4.40.0030.01716.64
7.4.30.0090.00916.76
7.4.10.0070.01315.14
7.4.00.0070.00915.21
7.3.330.0000.00513.55
7.3.320.0050.00013.39
7.3.310.0040.00416.64
7.3.300.0030.00316.61
7.3.290.0030.00316.39
7.3.280.0070.00916.51
7.3.270.0130.00517.40
7.3.260.0090.01316.66
7.3.250.0100.00916.59
7.3.240.0070.01416.62
7.3.230.0070.01016.62
7.3.210.0150.00616.68
7.3.200.0080.00816.55
7.3.190.0120.00616.58
7.3.180.0180.00016.66
7.3.170.0110.00616.73
7.3.160.0130.00316.67
7.3.130.0080.01014.94
7.3.120.0060.00914.99
7.3.110.0100.00615.05
7.3.100.0090.00615.02
7.3.90.0070.01015.05
7.3.80.0070.00715.11
7.3.70.0050.01214.95
7.3.60.0090.00514.88
7.3.50.0060.00614.90
7.3.40.0080.00814.96
7.3.30.0070.00615.08
7.3.20.0020.01116.84
7.3.10.0040.01016.87
7.3.00.0050.00816.77
7.2.330.0120.00616.85
7.2.320.0110.00716.89
7.2.310.0110.00516.86
7.2.300.0090.00616.85
7.2.290.0110.00516.89
7.2.260.0040.01015.26
7.2.250.0030.01315.09
7.2.240.0060.00915.27
7.2.230.0060.00815.25
7.2.220.0070.00915.24
7.2.210.0080.00615.30
7.2.200.0050.00715.32
7.2.190.0080.00815.17
7.2.180.0010.01415.05
7.2.170.0090.00415.23
7.2.160.0080.00715.21
7.2.150.0060.00817.31
7.2.140.0050.00817.18
7.2.130.0070.00817.11
7.2.120.0110.00917.04
7.2.110.0100.00716.96
7.2.100.0040.01217.11
7.2.90.0090.00817.11
7.2.80.0040.01116.98
7.2.70.0070.01016.96
7.2.60.0060.01117.17
7.2.50.0030.01016.91
7.2.40.0050.01216.89
7.2.30.0070.00617.02
7.2.20.0100.00817.13
7.2.10.0080.00716.91
7.2.00.0040.01117.54
7.1.330.0090.00515.90
7.1.320.0070.00815.93
7.1.310.0050.00915.90
7.1.300.0050.01115.90
7.1.290.0030.01115.97
7.1.280.0030.01115.95
7.1.270.0040.00915.78
7.1.260.0010.01015.98
7.1.250.0050.00815.80
7.1.240.0060.01216.02
7.1.230.0080.00615.90
7.1.220.0100.00315.90
7.1.210.0060.00916.01
7.1.200.0020.00915.91
7.1.190.0070.00716.03
7.1.180.0040.00615.92
7.1.170.0070.00715.84
7.1.160.0050.00615.93
7.1.150.0060.00615.92
7.1.140.0000.01316.00
7.1.130.0050.01015.94
7.1.120.0060.00815.83
7.1.110.0040.01016.00
7.1.100.0080.00416.81
7.1.90.0050.00815.90
7.1.80.0030.00916.00
7.1.70.0040.00916.45
7.1.60.0750.01021.75
7.1.50.1030.01621.71
7.1.40.0580.01221.56
7.1.30.0900.01021.63
7.1.20.0740.01021.75
7.1.10.0560.01115.50
7.1.00.0730.00815.65
7.0.330.0080.00615.49
7.0.320.0070.00615.54
7.0.310.0070.00815.53
7.0.300.0050.00815.60
7.0.290.0100.00115.63
7.0.280.0030.00915.72
7.0.270.0040.00815.41
7.0.260.0070.00715.46
7.0.250.0030.00815.55
7.0.240.0070.00515.49
7.0.230.0060.00815.66
7.0.220.0030.01015.48
7.0.210.0040.00615.49
7.0.200.0810.00815.30
7.0.190.0860.00615.34
7.0.180.0680.00715.31
7.0.170.1070.00915.24
7.0.160.0870.00715.23
7.0.150.0670.00615.28
7.0.140.0660.01415.38
7.0.130.0680.01015.47
7.0.120.0630.00815.24
7.0.110.0730.01215.27
7.0.100.0560.00915.12
7.0.90.0530.00815.25
7.0.80.0700.01015.24
7.0.70.0820.01215.16
7.0.60.0730.01015.25
7.0.50.0800.01115.34
7.0.40.0800.00814.13
7.0.30.0860.00813.82
7.0.20.0870.00513.85
7.0.10.0800.01413.99
7.0.00.0880.00914.00
5.6.400.0030.01014.58
5.6.390.0060.00914.37
5.6.380.0070.00614.18
5.6.370.0100.00614.57
5.6.360.0090.00314.51
5.6.350.0060.00814.43
5.6.340.0030.01214.41
5.6.330.0030.01114.63
5.6.320.0080.00814.44
5.6.310.0070.00914.28
5.6.300.0050.00714.59
5.6.290.0090.00414.64
5.6.280.0060.00714.61
5.6.270.0030.01114.35
5.6.260.0070.00514.53
5.6.250.0020.01214.58
5.6.240.0050.00914.24
5.6.230.0070.01014.60
5.6.220.0060.00814.69
5.6.210.0030.01014.62
5.6.200.0080.00514.35
5.6.190.0080.00714.37
5.6.180.0040.01214.25
5.6.170.0060.00914.53
5.6.160.0040.00714.25
5.6.150.0050.00614.25
5.6.140.0040.00914.33
5.6.130.0080.00314.72
5.6.120.0080.00414.58
5.6.110.0070.00914.29
5.6.100.0050.00814.52
5.6.90.0050.01214.33
5.6.80.0090.00714.39
5.6.70.0060.00614.49
5.6.60.0120.00614.51
5.6.50.0080.01014.50
5.6.40.0030.00914.49
5.6.30.0060.00614.50
5.6.20.0090.00514.23
5.6.10.0020.00814.41
5.6.00.0050.00814.30

preferences:
59.67 ms | 401 KiB | 5 Q