3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "id[one]=2&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"; $p = array_chunk(preg_split('/[&=]/', $s), 2); preg_match('/(\A[\[\]]*)([^\[\]]+)\]*/', $p[0][0], $matches); echo var_dump($matches);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(2) "id" [1]=> string(0) "" [2]=> string(2) "id" }

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:
52.28 ms | 401 KiB | 8 Q