3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "id=1&action=save&title=Corporate+Identity&short=identity&colour=%23ff751a&categoryID=1&bookURL=%2Ffiles%2Fbooks%2Fart_of_corporate_identity.pdf&bookImage=%2Ffiles%2Fimages%2Farticle-thumbs%2Fidentity.png&intro=%3Cp%3E%3Cbr+data-mce-bogus%3D%221%22%3E%3C%2Fp%3E&section%5B%5D%5Btitle%5D=Your+current+identity&section%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=5&section%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=What's+going+on+here%3F&section%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=This+is+option+1&section%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=Option+2!&section%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=And+number+3!&section%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=1&section%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=Hi&section%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=1&section%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=Hello&section%5B%5D%5Btitle%5D=Identity+management&section%5B%5D%5Btitle%5D=Brand+building&section%5B%5D%5Btitle%5D=Recognition&section%5B%5D%5Btitle%5D=Your+views+on+change&section%5B%5D%5Btitle%5D=Developing+a+new+identity"; echo var_dump(array_chunk(preg_split('/[&=]/', $s)));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: array_chunk() expects at least 2 arguments, 1 given in /in/TqNSW:3 Stack trace: #0 /in/TqNSW(3): array_chunk(Array) #1 {main} thrown in /in/TqNSW on line 3
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.12 ms | 405 KiB | 9 Q