3v4l.org

run code in 300+ PHP versions simultaneously
<?php $alphanum = '[^\W_]'; $mark ='[-_.!~*\'()\[\]]'; $reserved = '[;\/?:@&=+$,]'; $unreserved = '(?:' . $alphanum . '|' . $mark . ')'; $escaped = '(?:%[\da-fA-F]{2})'; $uric = '(?:' . $reserved . '|' . $unreserved . '|'. $escaped . ')';; $p = '/^(?:%[[:xdigit:]]{2}|[A-Za-z0-9-_.!~*\'()\[\];\/?:@&=+$,])*$/s'; $e = 'appname=covireivac&ceo_group=COVIREIVAC&ids%5B0%5D=5f5c565515a3cd46c42ccea1d2572c2c19fc9d6a1c92967e050bb8ab2b90a648&ids%5B1%5D=11a6fece4cfde5e83430c07084b7dc2dc38ecd7093b368c83d03f253096f7a45&ids%5B2%5D=05a76e8201b51c83eb2bb83994d421f15082cd03684696fa117f3fb8849032b1&ids%5B3%5D=2fe4f90af495cce89db9687670dee2005f119cf0f1d3bcfdae2641a1d2f7efca&ids%5B4%5D=76bd7c02f4dce74fc72c2aed590a8b4ce5299066b49387b80b834a5fcabb6e3c&ids%5B5%5D=0db678f42fb4728417d45779ada31bb82645c44d1a77f00b777831acac348a1b&ids%5B6%5D=73624ab5d0a890f0be95f6086110f22201e03276a4963baafe49b0695280f7a6&ids%5B7%5D=c7ec20fd967a58609b2b1779b43db0ab51ad0c361ca5b37f36f22ca470acc322&ids%5B8%5D=dc87130a4509df1136c945725d4c811848a51ad57496e0b4177f800e452e0a25&ids%5B9%5D=7fab1b13ecab5b8af2e7ec0708b2095976ec219f36add0c63f505e261b418a48&ids%5B10%5D=58dc55091532a488a3dfe3855a1bf1e3c66b73f4d9aae849b3103b739f26c03f&ids%5B11%5D=37bea50eafba8623e41165b8a62d7c3eeb6566457e993f7055d994044fec572e&ids%5B12%5D=2d53964e6780a2907915fb4eadf15bf49bc296127ef015716bce81a618299586&ids%5B13%5D=3f7c728a57993572d82f0bf130be49293786edf10cbbabc1dd9a4f2d27689725&ids%5B14%5D=8196571aff2b9985873f5009931ff3939e611f3ab77a79e8c22083d50cc3287e&ids%5B15%5D=f7f5d53c04e82383d1e38b79015480c8900af932409888a5814dfae5b81f3694&ids%5B16%5D=7831487d9415e956133146bbc1a2553b3575b5af00c393370177d981b4ca4a13&ids%5B17%5D=3b286234781e73240f3c4ee2724e8e9e9ff3b96de531d964d492def1be9365ea&ids%5B18%5D=47c3e9fdef70b1affbfc792a33e1f47433864764f756687e2c8b3e21bdf01e07&ids%5B19%5D=557ac802ef0d63c1a7ec08ce7727ab8e21d729a6255580824c98dbfac45793b9&ids%5B20%5D=d446ea9dd207e5403a69e42a8d7e97f8f3f49642734c6212aa30bf54e3bcaa56&ids%5B21%5D=5f0fca973ef030924b2376b1c25c813d047f3d9b1df6e162707d6f0e922ff386&ids%5B22%5D=714fbddf0a6af66ffe88c9931ab01e63b71840dcec415b879fa965dbda07e5ee&ids%5B23%5D=a9b7a3687c3bbc964c652c6effeba1cb06b167c6713472fe235971a2983a6077&ids%5B24%5D=914436f9784c803a4a83446c71d23b101bba858abd158fe98b4ffefe1dee8c5b&ids%5B25%5D=475ad01e872eb7690fa4770b967927485212d29504f0d4a024cc588d56b7a4f1&ids%5B26%5D=cd3cf13f7fb927079a88006e225cde68a9175e1cc6e6f92ffcc0b022965b71ea&ids%5B27%5D=e9c78401972ef79f3d871b094492b919a6c75c71b38c90765eb83fb4dc370572&ids%5B28%5D=2855429381a7cd4411f17540ea4d35d9515e9992bcaac5019f316be458b9ceac&ids%5B29%5D=ee4ca3a25ecea0955da2a1c85cf51ff3a111e69533fd9d610bbce8eb4f34cfd6&ids%5B30%5D=b655fe380f583c91879de0f7c6b8450294e8fd307158a9851e7ab56b554effa5&ids%5B31%5D=92653a8dbc82cb4898f7c9477e82e3c157c98413912d1f105e8c74b329c9be55&ids%5B32%5D=099bdc75ad8e47babe94b7a6ca2d28bc288d8477733f027ac0e9b659ce29af80&ids%5B33%5D=0452683d52b3ccc1ad6a9a497e1373c30e9394cd3509e425ff7a4e18c108fe3c&ids%5B34%5D=24a10af80ff75b665010015d6e49a5baa8a458b37dac2261fe78c30fcb1c4b18&ids%5B35%5D=c7ee2ab6a559883eaf7a93630141410b7e0d5e5addb2b29c9bbca6ef72fb9a9b&ids%5B36%5D=e0006979c48d6fb925733b3567a43df5e60ad9e33763c0a4aa0830010a9d17a3&ids%5B37%5D=a9b1722ee0696e1b704f8a2b04821c1dd0a94f1fd584f85c5e2d834a06dc1f4a&ids%5B38%5D=583679698e618b0d66dbe30cdc8b242596d9dc9c7a25f84b8af8dbf81a73ee83&ids%5B39%5D=2e78dc0bdfad07e84d4d87bf10190822e40c4704eef070c2b0af9e38373e4271&ids%5B40%5D=3571fba9bb6ad0c03e85746b623b38abf526a151c6c677494abf2c1a6c020747&ids%5B41%5D=4a469e42d9fd11fe8363f60bda13ad10ee3b163ac8ee3b9a869db6e51ac014fa&ids%5B42%5D=b41506b9cfceb7b09dd1153501e3d499154146b0eb6d5216f44de6afa840ced7&ids%5B43%5D=1e2c56f32f2d8d4fae3d1afa83e05685efd9c1b20bae90252f03bc4439c9e881&ids%5B44%5D=7d0c99bab93ccf7cae5bbfbb40f33d2e5f330dd35d273162e974630a631ee9d0&ids%5B45%5D=a9f4108a0304c3ad0de150e612cb046762886763870d434e6471d5bf72a6f3af&ids%5B46%5D=76e2f76f38bd791af7b6b6408f6434f801f46d6be938c7e8deaf2cfaa09dd08e&ids%5B47%5D=1afc34dec545aefaefc2bd3859152bd6b43215c698fc2ebbae9c5aa7218442c6&ids%5B48%5D=3a4b397b3c3799e561aa8aefdeb8fbf4a0cbbbd56e0be0a583d016a02feef2aa&ids%5B49%5D=2be1db546d1a7dce44d8b179981c2beb0f2b2d582304a2f16caab60cf77cf68b&ids%5B50%5D=e4038c7bd97b1aa7f615adc3188d9e1cfa5b6870583a094e45a31528582dedfe&ids%5B51%5D=f41d7f5a97ff29e5dcec5911739eac98eb0c738e080b558e864de0f8ea46cd59'; echo (preg_match($p,$e) ? 'TRUE' : 'FALSE') . "\n"; ?>

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.2.10.0070.00018.13
8.2.00.0000.00719.34
8.1.140.0040.00417.72
8.1.130.0000.00719.17
8.1.120.0070.00017.75
8.1.110.0070.00817.66
8.1.100.0130.00217.63
8.1.90.0140.00217.59
8.1.80.0110.00517.67
8.1.70.0070.00817.55
8.1.60.0140.00417.84
8.1.50.0120.00617.68
8.1.40.0130.00517.73
8.1.30.0140.00417.90
8.1.20.0150.00217.80
8.1.10.0110.00817.68
8.1.00.0130.00717.64
8.0.260.0030.00318.56
8.0.250.0070.00017.13
8.0.240.0000.00817.16
8.0.230.0110.00417.09
8.0.220.0100.00517.06
8.0.210.0130.00117.11
8.0.200.0060.00917.13
8.0.190.0090.00617.10
8.0.180.0110.00417.06
8.0.170.0080.00717.06
8.0.160.0100.00617.08
8.0.150.0060.00917.11
8.0.140.0150.00016.98
8.0.130.0060.00916.91
8.0.120.0080.00617.11
8.0.110.0090.00517.13
8.0.100.0100.00516.96
8.0.90.0100.00517.09
8.0.80.0090.00617.07
8.0.70.0110.00317.05
8.0.60.0140.00017.11
8.0.50.0090.00517.00
8.0.30.0110.00317.04
8.0.20.0080.00617.11
8.0.10.0080.00717.15
8.0.00.0080.00417.18
7.4.330.0020.00215.55
7.4.320.0150.00216.78
7.4.300.0120.00416.82
7.4.290.0080.00816.86
7.4.280.0110.00516.84
7.4.270.0160.00016.83
7.4.260.0160.00116.79
7.4.250.0090.00816.83
7.4.240.0110.00516.86
7.4.230.0140.00216.81
7.4.220.0140.00116.76
7.4.210.0150.00016.81
7.4.200.0080.00816.67
7.4.190.0150.00116.78
7.4.180.0120.00216.77
7.4.160.0120.00316.77
7.4.150.0100.00416.77
7.4.140.0130.00116.70
7.4.130.0110.00416.69
7.4.120.0100.00216.71
7.4.110.0090.00216.70
7.4.100.0040.00616.62
7.4.90.0060.00316.64
7.4.80.0000.00716.82
7.4.70.0050.00216.70
7.4.60.0040.00316.71
7.4.50.0000.00716.68
7.4.40.0080.00416.51
7.4.30.0060.00516.48
7.4.20.0050.00416.61
7.4.10.0060.00316.64
7.4.00.0060.00316.44
7.3.330.0110.00316.22
7.3.320.0080.00816.33
7.3.310.0140.00016.41
7.3.300.0090.00616.40
7.3.290.0060.00916.32
7.3.280.0120.00416.42
7.3.270.0100.00516.38
7.3.260.0110.00416.61
7.3.250.0110.00416.57
7.3.240.0150.00016.29
7.3.230.0080.00816.55
7.3.220.0080.00616.50
7.3.210.0100.00516.27
7.3.200.0150.00016.28
7.3.190.0090.00616.44
7.3.180.0050.01116.57
7.3.170.0110.00516.50
7.3.160.0100.00416.39
7.3.150.0080.00716.35
7.3.140.0120.00316.36
7.3.130.0110.00416.58
7.3.120.0140.00016.50
7.3.110.0130.00316.16
7.3.100.0150.00016.33
7.3.90.0110.00416.68
7.3.80.0120.00316.36
7.3.70.0110.00416.64
7.3.60.0150.00016.66
7.3.50.0120.00316.67
7.3.40.0080.00616.46
7.3.30.0120.00216.51
7.3.20.0080.00816.82
7.3.10.0100.00516.54
7.3.00.0130.00316.55
7.2.340.0080.00316.60
7.2.330.0080.00816.71
7.2.320.0100.00516.46
7.2.310.0120.00316.53
7.2.300.0160.00016.46
7.2.290.0130.00216.57
7.2.280.0080.00616.64
7.2.270.0110.00416.44
7.2.260.0150.00016.63
7.2.250.0130.00316.67
7.2.240.0060.00916.57
7.2.230.0040.01116.61
7.2.220.0070.00716.70
7.2.210.0070.00716.57
7.2.200.0110.00616.69
7.2.190.0050.00916.73
7.2.180.0120.00316.55
7.2.170.0050.01016.71
7.2.160.0090.00516.54
7.2.150.0350.00016.86
7.2.140.0080.00716.93
7.2.130.0120.00416.97
7.2.120.0060.00916.67
7.2.110.0140.00016.82
7.2.100.0060.00916.62
7.2.90.0060.01016.91
7.2.80.0110.00516.74
7.2.70.0130.00316.55
7.2.60.0100.00516.55
7.2.50.0100.00516.90
7.2.40.0130.00316.66
7.2.30.0100.00516.85
7.2.20.0080.00816.83
7.2.10.0170.00016.68
7.2.00.0130.00416.90
7.1.330.0070.00715.61
7.1.320.0050.01015.82
7.1.310.0140.00015.73
7.1.300.0110.00215.81
7.1.290.0110.00415.67
7.1.280.0080.00815.57
7.1.270.0180.00415.74
7.1.260.0090.00515.67
7.1.250.0150.00315.62
7.1.240.0100.00515.38
7.1.230.0140.00015.39
7.1.220.0070.00715.68
7.1.210.0140.00315.49
7.1.200.0130.00215.59
7.1.190.0080.00615.71
7.1.180.0110.00415.59
7.1.170.0110.00415.66
7.1.160.0090.00515.50
7.1.150.0100.00515.66
7.1.140.0090.00615.76
7.1.130.0090.00615.70
7.1.120.0120.00415.44
7.1.110.0100.00515.79
7.1.100.0090.00615.71
7.1.90.0110.00415.77
7.1.80.0070.00715.90
7.1.70.0150.00015.66
7.1.60.0100.00515.90
7.1.50.0210.00315.81
7.1.40.0220.00315.82
7.1.30.0110.00415.91
7.1.20.0050.01015.85
7.1.10.0130.00215.87
7.1.00.0150.00015.76
7.0.330.0050.00915.50
7.0.320.0130.00015.27
7.0.310.0140.00015.31
7.0.300.0070.00715.35
7.0.290.0050.00915.35
7.0.280.0110.00315.24
7.0.270.0140.00015.24
7.0.260.0110.00315.43
7.0.250.0140.00015.49
7.0.240.0050.00915.66
7.0.230.0090.00515.40
7.0.220.0110.00415.64
7.0.210.0090.00415.42
7.0.200.0130.00015.48
7.0.190.0110.00315.45
7.0.180.0140.00015.48
7.0.170.0180.00415.58
7.0.160.0100.00315.45
7.0.150.0140.00015.21
7.0.140.0140.00015.39
7.0.130.0100.00315.48
7.0.120.0110.00215.35
7.0.110.0140.00015.35
7.0.100.0070.00715.53
7.0.90.0050.00915.24
7.0.80.0000.01315.30
7.0.70.0120.00215.24
7.0.60.0140.00015.45
7.0.50.0100.00315.29
7.0.40.0100.00315.30
7.0.30.0140.00015.20
7.0.20.0080.00615.05
7.0.10.0070.00715.32
7.0.00.0100.00415.04
5.6.400.0100.00517.86
5.6.390.0070.00717.82
5.6.380.0150.00017.80
5.6.370.0070.00717.79
5.6.360.0150.00017.88
5.6.350.0090.00517.68
5.6.340.0110.00417.79
5.6.330.0140.00017.87
5.6.320.0090.00517.64
5.6.310.0080.00617.81
5.6.300.0120.00217.59
5.6.290.0090.00617.93
5.6.280.0070.00717.79
5.6.270.0140.00017.63
5.6.260.0110.00417.76
5.6.250.0000.01417.86
5.6.240.0090.00517.82
5.6.230.0090.00617.73
5.6.220.0100.00517.76
5.6.210.0110.00417.68
5.6.200.0090.00518.01
5.6.190.0140.00017.88
5.6.180.0090.00517.91
5.6.170.0070.00718.00
5.6.160.0090.00518.05
5.6.150.0140.00017.84
5.6.140.0110.00417.95
5.6.130.0050.00817.93
5.6.120.0050.00917.93
5.6.110.0080.00617.89
5.6.100.0080.00617.91
5.6.90.0130.00017.68
5.6.80.0090.00417.60
5.6.70.0100.00317.88
5.6.60.0100.00317.99
5.6.50.0100.00317.63
5.6.40.0100.00417.71
5.6.30.0140.00017.89
5.6.20.0090.00517.81
5.6.10.0110.00217.83
5.6.00.0000.01417.73
5.5.380.0070.00718.07
5.5.370.0110.00217.88
5.5.360.0130.00017.42
5.5.350.0130.00017.57
5.5.340.0050.01017.56
5.5.330.0080.00817.84
5.5.320.0140.00017.46
5.5.310.0110.00417.79
5.5.300.0050.00917.67
5.5.290.0110.00317.46
5.5.280.0140.00017.55
5.5.270.0140.00017.83
5.5.260.0000.01417.41
5.5.250.0140.00017.87
5.5.240.0140.00018.04
5.5.230.0070.00717.84
5.5.220.0090.00517.61
5.5.210.0070.00717.69
5.5.200.0110.00417.59
5.5.190.0130.00017.65
5.5.180.0140.00017.83
5.5.170.0140.00017.65
5.5.160.0070.00717.62
5.5.150.0090.00517.67
5.5.140.0050.00917.61
5.5.130.0100.00317.68
5.5.120.0100.00317.61
5.5.110.0070.00717.50
5.5.100.0100.00517.51
5.5.90.0110.00317.88
5.5.80.0140.00017.90
5.5.70.0100.00317.88
5.5.60.0110.00217.77
5.5.50.0090.00517.56
5.5.40.0160.00017.90
5.5.30.0080.00617.83
5.5.20.0060.00617.76
5.5.10.0080.00517.66
5.5.00.0150.00017.94
5.4.450.0110.00014.47
5.4.440.0060.00614.57
5.4.430.0060.00614.46
5.4.420.0110.00014.65
5.4.410.0110.00014.73
5.4.400.0120.00014.57
5.4.390.0110.00014.73
5.4.380.0120.00014.41
5.4.370.0060.00514.51
5.4.360.0120.00014.74
5.4.350.0090.00214.54
5.4.340.0110.00014.75
5.4.330.0110.00014.48
5.4.320.0040.00714.50
5.4.310.0080.00414.79
5.4.300.0110.00014.63
5.4.290.0110.00014.59
5.4.280.0110.00014.48
5.4.270.0060.00614.47
5.4.260.0120.00014.53
5.4.250.0000.01214.42
5.4.240.0090.00214.52
5.4.230.0060.00614.25
5.4.220.0060.00614.23
5.4.210.0080.00314.36
5.4.200.0040.00814.47
5.4.190.0080.00314.54
5.4.180.0120.00014.21
5.4.170.0060.00614.31
5.4.160.0050.00514.41
5.4.150.0090.00314.54
5.4.140.0080.00314.48
5.4.130.0130.00014.25
5.4.120.0060.00614.30
5.4.110.0080.00314.45
5.4.100.0080.00414.34
5.4.90.0110.00014.65
5.4.80.0070.00414.27
5.4.70.0030.00714.25
5.4.60.0030.00714.09
5.4.50.0050.00514.09
5.4.40.0110.00014.04
5.4.30.0080.00314.22
5.4.20.0120.00014.35
5.4.10.0050.00514.28
5.4.00.0070.00314.13
5.3.290.0110.00015.04
5.3.280.0110.00014.68
5.3.270.0120.00014.60
5.3.260.0050.00514.64
5.3.250.0080.00314.63
5.3.240.0120.00014.64
5.3.230.0080.00414.61
5.3.220.0070.00415.88
5.3.210.0090.00315.95
5.3.200.0070.00415.70
5.3.190.0090.00315.64
5.3.180.0040.00815.80
5.3.170.0030.00915.81
5.3.160.0070.00516.12
5.3.150.0080.00416.14
5.3.140.0120.00015.84
5.3.130.0120.00015.85
5.3.120.0040.00816.16
5.3.110.0090.00315.84
5.3.100.0060.00615.91
5.3.90.0070.00414.99
5.3.80.0070.00414.75
5.3.70.0120.00014.80
5.3.60.0120.00014.97
5.3.50.0100.00314.84
5.3.40.0110.00315.17
5.3.30.0080.00414.83
5.3.20.0100.00314.86
5.3.10.0150.00014.84
5.3.00.0110.00314.86
5.2.170.0090.00314.01
5.2.160.0130.00013.90
5.2.150.0060.00613.94
5.2.140.0040.00713.89
5.2.130.0080.00313.82
5.2.120.0080.00413.92
5.2.110.0130.00014.11
5.2.100.0100.00314.09
5.2.90.0070.00513.75
5.2.80.0120.00013.91
5.2.70.0040.00713.69
5.2.60.0090.00213.79
5.2.50.0100.00013.68
5.2.40.0080.00413.88
5.2.30.0090.00313.73
5.2.20.0080.00413.40
5.2.10.0080.00313.55
5.2.00.0070.00413.60
5.1.60.0100.00314.71
5.1.50.0060.00614.39
5.1.40.0060.00614.55
5.1.30.0080.00314.89
5.1.20.0090.00314.82
5.1.10.0040.00814.50
5.1.00.0060.00514.58
5.0.50.0080.00313.47
5.0.40.0090.00212.89
5.0.30.0040.00513.09
5.0.20.0050.00512.87
5.0.10.0100.00012.75
5.0.00.0060.00312.89
4.4.90.0050.0009.71
4.4.80.0050.0009.71
4.4.70.0010.0059.71
4.4.60.0040.0009.71
4.4.50.0030.0039.71
4.4.40.0000.0059.71
4.4.30.0080.0009.71
4.4.20.0030.0039.71
4.4.10.0070.0009.71
4.4.00.0000.0069.71
4.3.110.0040.0009.71
4.3.100.0060.0009.71
4.3.90.0060.0009.71
4.3.80.0060.0009.71
4.3.70.0030.0049.71
4.3.60.0070.0009.71
4.3.50.0060.0009.71
4.3.40.0000.0069.71
4.3.30.0040.0029.71
4.3.20.0060.0009.71
4.3.10.0050.0009.71
4.3.00.0000.0049.71

preferences:
13.01 ms | 403 KiB | 5 Q