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"; ?>
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.26, 8.1.0 - 8.1.13, 8.2rc1 - rc3
TRUE
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34
FALSE

preferences:
37.71 ms | 410 KiB | 5 Q