3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = ' Welcome to CakePHP v2.4.9 Console --------------------------------------------------------------- App : app Path: c:\inetpub\wwwroot\mydomain.com\a.mydomain.com\app\ --------------------------------------------------------------- Connecting Connected --089e0149ce261dd6b104fa2f0cb5 Content-Type: text/plain; charset=UTF-8 List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --089e0149ce261dd6b104fa2f0cb5 Content-Type: text/html; charset=UTF-8 <div dir="ltr">List-Unsubscribe: &lt;<a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;</div> --089e0149ce261dd6b104fa2f0cb5-- --001a11393a8cc8c2a304fa2eee41 Content-Type: text/plain; charset=UTF-8 List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --001a11393a8cc8c2a304fa2eee41 Content-Type: text/html; charset=UTF-8 <div dir="ltr">List-Unsubscribe: &lt;<a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;<br></div> --001a11393a8cc8c2a304fa2eee41-- --001a11c130e629bfde04fa2ee03c Content-Type: text/plain; charset=UTF-8 List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --001a11c130e629bfde04fa2ee03c Content-Type: text/html; charset=UTF-8 <div dir="ltr">List-Unsubscribe: &lt;<a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;</div> --001a11c130e629bfde04fa2ee03c-- --001a1133db2e4c8d2804fa2eda5c Content-Type: text/plain; charset=UTF-8 http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --001a1133db2e4c8d2804fa2eda5c Content-Type: text/html; charset=UTF-8 <div dir="ltr"><a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;<br></div> --001a1133db2e4c8d2804fa2eda5c-- --047d7bf0c122ea168104fa2ed328 Content-Type: text/plain; charset=UTF-8 List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --047d7bf0c122ea168104fa2ed328 Content-Type: text/html; charset=UTF-8 <div dir="ltr">List-Unsubscribe: &lt;<a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;<br></div> --047d7bf0c122ea168104fa2ed328-- --089e0153747e9c247d04fa2ec4a1 Content-Type: text/plain; charset=UTF-8 test --089e0153747e9c247d04fa2ec4a1 Content-Type: text/html; charset=UTF-8 <div dir="ltr">test</div> --089e0153747e9c247d04fa2ec4a1-- create a new version of this paste RAW Paste Data Welcome to CakePHP v2.4.9 Console --------------------------------------------------------------- App : app Path: c:\inetpub\wwwroot\mydomain.com\a.mydomain.com\app\ --------------------------------------------------------------- Connecting Connected --089e0149ce261dd6b104fa2f0cb5 Content-Type: text/plain; charset=UTF-8 List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --089e0149ce261dd6b104fa2f0cb5 Content-Type: text/html; charset=UTF-8 <div dir="ltr">List-Unsubscribe: &lt;<a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;</div> --089e0149ce261dd6b104fa2f0cb5-- --001a11393a8cc8c2a304fa2eee41 Content-Type: text/plain; charset=UTF-8 List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --001a11393a8cc8c2a304fa2eee41 Content-Type: text/html; charset=UTF-8 <div dir="ltr">List-Unsubscribe: &lt;<a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;<br></div> --001a11393a8cc8c2a304fa2eee41-- --001a11c130e629bfde04fa2ee03c Content-Type: text/plain; charset=UTF-8 List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --001a11c130e629bfde04fa2ee03c Content-Type: text/html; charset=UTF-8 <div dir="ltr">List-Unsubscribe: &lt;<a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;</div> --001a11c130e629bfde04fa2ee03c-- --001a1133db2e4c8d2804fa2eda5c Content-Type: text/plain; charset=UTF-8 http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --001a1133db2e4c8d2804fa2eda5c Content-Type: text/html; charset=UTF-8 <div dir="ltr"><a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;<br></div> --001a1133db2e4c8d2804fa2eda5c-- --047d7bf0c122ea168104fa2ed328 Content-Type: text/plain; charset=UTF-8 List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/> --047d7bf0c122ea168104fa2ed328 Content-Type: text/html; charset=UTF-8 <div dir="ltr">List-Unsubscribe: &lt;<a href="http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/">http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/</a>&gt;<br></div> --047d7bf0c122ea168104fa2ed328-- --089e0153747e9c247d04fa2ec4a1 Content-Type: text/plain; charset=UTF-8 test --089e0153747e9c247d04fa2ec4a1 Content-Type: text/html; charset=UTF-8 <div dir="ltr">test</div> --089e0153747e9c247d04fa2ec4a1-- Pastebin.com Tools & Applications iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone create new paste | api | trends | users | faq | tools | privacy | cookies policy | contact | dmca | stats | advertise on pastebin | go pro Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news Dedicated Server Hosting by Steadfast Pastebin v3.11 rendered in: 0.116 seconds '; $getCampListEmailid =preg_match("/^List-Unsubscribe: <http:\/\/a.mydomain.com\/u\/([0-9]+)[\/]([0-9]+)[\/]([0-9]+)[\/][a-f0-9]{32}[\/>]/",$body,$match); var_dump($getCampListEmailid); var_dump($match[1]); var_dump($match[2]); if($getCampListEmailid && isset($match[1]) && isset($match[2])){ print 'yep'; }

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.0170.00317.13
8.3.50.0080.01122.12
8.3.40.0140.00419.15
8.3.30.0000.01518.88
8.3.20.0040.00420.34
8.3.10.0040.00423.54
8.3.00.0040.00422.46
8.2.180.0030.01218.91
8.2.170.0120.00322.96
8.2.160.0130.00722.33
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00022.44
8.2.110.0090.00022.20
8.2.100.0070.00418.16
8.2.90.0080.00019.34
8.2.80.0030.00617.97
8.2.70.0080.00317.88
8.2.60.0100.00017.93
8.2.50.0080.00418.07
8.2.40.0040.00419.38
8.2.30.0000.00718.27
8.2.20.0030.00617.93
8.2.10.0060.00319.80
8.2.00.0080.00018.08
8.1.280.0000.01525.92
8.1.270.0050.00323.91
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0060.00323.82
8.1.230.0080.00519.09
8.1.220.0040.00417.77
8.1.210.0030.00518.77
8.1.200.0120.00017.48
8.1.190.0040.00417.52
8.1.180.0060.00318.10
8.1.170.0000.00818.78
8.1.160.0080.00022.05
8.1.150.0040.00418.83
8.1.140.0000.00717.59
8.1.130.0030.00317.93
8.1.120.0040.00417.70
8.1.110.0000.00817.50
8.1.100.0030.00417.63
8.1.90.0040.00417.63
8.1.80.0000.00717.68
8.1.70.0070.00017.47
8.1.60.0050.00317.73
8.1.50.0080.00017.59
8.1.40.0040.00417.66
8.1.30.0000.00817.68
8.1.20.0040.00417.88
8.1.10.0050.00217.76
8.1.00.0170.00317.57
8.0.300.0000.00718.77
8.0.290.0000.00717.18
8.0.280.0030.00318.52
8.0.270.0040.00416.92
8.0.260.0000.00616.96
8.0.250.0030.00317.15
8.0.240.0040.00417.14
8.0.230.0030.00317.26
8.0.220.0000.00717.14
8.0.210.0050.00217.00
8.0.200.0030.00317.24
8.0.190.0040.00317.18
8.0.180.0040.00417.14
8.0.170.0030.00517.10
8.0.160.0080.00017.12
8.0.150.0040.00417.10
8.0.140.0000.00717.11
8.0.130.0000.00513.59
8.0.120.0030.00517.16
8.0.110.0050.00217.00
8.0.100.0040.00417.13
8.0.90.0040.00417.15
8.0.80.0160.00317.10
8.0.70.0030.00516.98
8.0.60.0040.00417.00
8.0.50.0000.01017.09
8.0.30.0140.00517.29
8.0.20.0090.01117.40
8.0.10.0000.00717.21
8.0.00.0160.00317.15
7.4.330.0000.00515.06
7.4.320.0000.00616.84
7.4.300.0030.00316.79
7.4.290.0000.00716.84
7.4.280.0050.00316.77
7.4.270.0070.00016.80
7.4.260.0070.00016.92
7.4.250.0000.00816.75
7.4.240.0070.00016.88
7.4.230.0080.00016.96
7.4.220.0100.00716.79
7.4.210.0110.00716.91
7.4.200.0070.00016.70
7.4.190.0050.00317.00
7.4.160.0060.01416.79
7.4.150.0130.00717.40
7.4.140.0100.00717.86
7.4.130.0090.01016.70
7.4.120.0070.01216.94
7.4.110.0100.00716.73
7.4.100.0100.00716.62
7.4.90.0070.01016.89
7.4.80.0070.01316.95
7.4.70.0170.00417.05
7.4.60.0050.01216.81
7.4.50.0000.00916.71
7.4.40.0100.00322.77
7.4.30.0160.00016.50
7.4.00.0070.00815.14
7.3.330.0030.00313.27
7.3.320.0030.00313.34
7.3.310.0000.00716.32
7.3.300.0000.00716.34
7.3.290.0100.01016.52
7.3.280.0090.00716.50
7.3.270.0090.00917.40
7.3.260.0130.00316.73
7.3.250.0080.01216.59
7.3.240.0120.00416.71
7.3.230.0030.01316.82
7.3.210.0110.01216.49
7.3.200.0100.01019.39
7.3.190.0110.00716.88
7.3.180.0080.00816.28
7.3.170.0100.00716.62
7.3.160.0030.01416.47
7.3.120.0090.00615.06
7.3.110.0030.01015.03
7.3.100.0090.00614.81
7.3.90.0150.00015.27
7.3.80.0060.00314.97
7.3.70.0000.01015.01
7.3.60.0030.00715.05
7.3.50.0000.01014.74
7.3.40.0100.00314.64
7.3.30.0090.00314.91
7.3.20.0030.00916.71
7.3.10.0040.01116.67
7.3.00.0090.00616.71
7.2.330.0110.00816.86
7.2.320.0140.00516.60
7.2.310.0140.00316.84
7.2.300.0190.00616.55
7.2.290.0130.00316.66
7.2.250.0100.01015.32
7.2.240.0000.01614.88
7.2.230.0000.01015.35
7.2.220.0070.00315.29
7.2.210.0090.00615.29
7.2.200.0040.00715.38
7.2.190.0070.00715.04
7.2.180.0090.00615.09
7.2.170.0090.00315.16
7.2.00.0030.01019.67
7.1.330.0060.00916.11
7.1.320.0100.00315.64
7.1.310.0000.01416.09
7.1.300.0090.00615.89
7.1.290.0000.00915.95
7.1.280.0080.00515.96
7.1.270.0080.00616.03
7.1.260.0090.00615.89
7.1.200.0080.00415.77
7.1.100.0060.00618.15
7.1.70.0000.00917.29
7.1.60.0070.01919.29
7.1.50.0170.00316.80
7.1.00.0030.07722.29
7.0.200.0190.00616.64
7.0.140.0130.06321.92
7.0.80.0100.07319.88
7.0.70.0030.09019.90
7.0.60.0670.08720.03
7.0.50.0600.08720.40
7.0.40.0130.07720.03
7.0.30.0070.08020.05
7.0.20.0030.08320.10
7.0.10.0070.08720.12
7.0.00.0130.08320.03
5.6.280.0030.09321.00
5.6.230.0130.07720.60
5.6.220.0100.07020.69
5.6.210.0200.06320.61
5.6.200.0030.09321.06
5.6.190.0100.04721.11
5.6.180.0130.05721.09
5.6.170.0100.08721.08
5.6.160.0100.07321.12
5.6.150.0070.08320.97
5.6.140.0070.07721.05
5.6.130.0130.07321.11
5.6.120.0000.06321.01
5.6.110.0070.06020.93
5.6.100.0170.07721.01
5.6.90.0130.04321.01
5.6.80.0100.03320.39
5.6.70.0030.09320.44
5.6.60.0070.08020.29
5.6.50.0070.08020.50
5.6.40.0100.06320.31
5.6.30.0130.05720.54
5.6.20.0100.07020.37
5.6.10.0100.04020.43
5.6.00.0100.07720.52
5.5.370.0100.08020.55
5.5.360.0070.05720.38
5.5.350.0100.08320.43
5.5.340.0070.06720.92
5.5.330.0130.03720.92
5.5.320.0070.07720.77
5.5.310.0030.06020.77
5.5.300.0030.08720.74
5.5.290.0030.06320.91
5.5.280.0100.08020.93
5.5.270.0070.08320.77
5.5.260.0070.07720.86
5.5.250.0100.08320.61
5.5.240.0100.03320.16
5.5.230.0200.03720.03
5.5.220.0100.07720.14
5.5.210.0000.06720.16
5.5.200.0070.05020.16
5.5.190.0100.08020.26
5.5.180.0070.07020.24
5.5.160.0130.07020.11
5.5.150.0030.06020.24
5.5.140.0100.07720.22
5.5.130.0030.07020.21
5.5.120.0100.07720.21
5.5.110.0100.06320.27
5.5.100.0100.05020.02
5.5.90.0070.08019.98
5.5.80.0100.06020.11
5.5.70.0100.07720.17
5.5.60.0070.08320.07
5.5.50.0130.05720.09
5.5.40.0000.08020.10
5.5.30.0030.08020.15
5.5.20.0070.08019.96
5.5.10.0100.07319.98
5.5.00.0100.08019.97
5.4.450.0130.07719.11
5.4.440.0070.08719.45
5.4.430.0030.08719.28
5.4.420.0100.07319.38
5.4.410.0100.04019.43
5.4.400.0030.07719.08
5.4.390.0130.06318.98
5.4.380.0030.04318.98
5.4.370.0030.05319.03
5.4.360.0030.08319.14
5.4.350.0030.07318.94
5.4.340.0000.08318.90
5.4.320.0030.07718.81
5.4.310.0030.07719.15
5.4.300.0100.06719.07
5.4.290.0170.06719.25
5.4.280.0170.07719.16
5.4.270.0030.05718.98
5.4.260.0170.06019.06
5.4.250.0030.08018.89
5.4.240.0070.08018.89
5.4.230.0070.07019.13
5.4.220.0130.06318.80
5.4.210.0030.05719.22
5.4.200.0100.07319.05
5.4.190.0100.07719.05
5.4.180.0100.07319.06
5.4.170.0100.07719.02
5.4.160.0070.04019.12
5.4.150.0100.07318.92
5.4.140.0100.07016.43
5.4.130.0100.07716.33
5.4.120.0100.07316.07
5.4.110.0100.07016.26
5.4.100.0030.07016.36
5.4.90.0130.06316.49
5.4.80.0030.05716.39
5.4.70.0030.08016.32
5.4.60.0000.08016.30
5.4.50.0100.06016.31
5.4.40.0070.07716.47
5.4.30.0100.07316.18
5.4.20.0070.07316.20
5.4.10.0030.07016.20
5.4.00.0070.07715.73
5.3.290.0100.07714.61
5.3.280.0130.04014.59
5.3.270.0070.08014.60
5.3.260.0070.05314.61
5.3.250.0130.07014.56
5.3.240.0030.06014.59
5.3.230.0030.08014.57
5.3.220.0130.07014.57
5.3.210.0100.06714.48
5.3.200.0030.08014.59
5.3.190.0000.08014.54
5.3.180.0130.06714.58
5.3.170.0100.07014.58
5.3.160.0100.07314.57
5.3.150.0070.07714.55
5.3.140.0100.04314.55
5.3.130.0030.05714.53
5.3.120.0130.07014.48
5.3.110.0100.07314.52
5.3.100.0030.08013.99
5.3.90.0070.04313.97
5.3.80.0130.06313.98
5.3.70.0070.05013.89
5.3.60.0030.08013.88
5.3.50.0070.08013.93
5.3.40.0100.07313.81
5.3.30.0070.05313.88
5.3.20.0030.07713.63
5.3.10.0100.07313.53
5.3.00.0130.06713.65
5.2.170.0100.06312.19
5.2.160.0100.05712.19
5.2.150.0130.05712.19
5.2.140.0030.06012.19
5.2.130.0070.06012.19
5.2.120.0070.06312.19
5.2.110.0100.05012.19
5.2.100.0100.05312.19
5.2.90.0030.06012.19
5.2.80.0130.05312.19
5.2.70.0000.07012.19
5.2.60.0070.06312.19
5.2.50.0070.06012.19
5.2.40.0130.06012.19
5.2.30.0030.06312.19
5.2.20.0070.06012.19
5.2.10.0030.05012.19
5.2.00.0030.06312.19
5.1.60.0030.05712.19
5.1.50.0070.05712.19
5.1.40.0130.04312.19
5.1.30.0070.05312.19
5.1.20.0070.05712.19
5.1.10.0000.06312.19
5.1.00.0000.06712.19
5.0.50.0030.04712.19
5.0.40.0030.03712.19
5.0.30.0000.05012.19
5.0.20.0000.04712.19
5.0.10.0030.04312.19
5.0.00.0030.06712.19
4.4.90.0000.03312.19
4.4.80.0030.03712.19
4.4.70.0070.03312.19
4.4.60.0030.03012.19
4.4.50.0000.02712.19
4.4.40.0070.04012.19
4.4.30.0070.03012.19
4.4.20.0030.03312.19
4.4.10.0030.03712.19
4.4.00.0100.05012.19
4.3.110.0000.02712.19
4.3.100.0000.03712.19
4.3.90.0030.03312.19
4.3.80.0030.05312.19
4.3.70.0000.03312.19
4.3.60.0030.03312.19
4.3.50.0030.03312.19
4.3.40.0070.04312.19
4.3.30.0030.03312.19
4.3.20.0030.03712.19
4.3.10.0030.03712.19
4.3.00.0000.02712.19

preferences:
53.28 ms | 400 KiB | 5 Q