3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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(explode('&', $s));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(24) { [0]=> string(4) "id=1" [1]=> string(11) "action=save" [2]=> string(24) "title=Corporate+Identity" [3]=> string(14) "short=identity" [4]=> string(16) "colour=%23ff751a" [5]=> string(12) "categoryID=1" [6]=> string(56) "bookURL=%2Ffiles%2Fbooks%2Fart_of_corporate_identity.pdf" [7]=> string(59) "bookImage=%2Ffiles%2Fimages%2Farticle-thumbs%2Fidentity.png" [8]=> string(56) "intro=%3Cp%3E%3Cbr+data-mce-bogus%3D%221%22%3E%3C%2Fp%3E" [9]=> string(46) "section%5B%5D%5Btitle%5D=Your+current+identity" [10]=> string(45) "section%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=5" [11]=> string(67) "section%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=What's+going+on+here%3F" [12]=> string(68) "section%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=This+is+option+1" [13]=> string(61) "section%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=Option+2!" [14]=> string(65) "section%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=And+number+3!" [15]=> string(45) "section%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=1" [16]=> string(46) "section%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=Hi" [17]=> string(45) "section%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=1" [18]=> string(49) "section%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=Hello" [19]=> string(44) "section%5B%5D%5Btitle%5D=Identity+management" [20]=> string(39) "section%5B%5D%5Btitle%5D=Brand+building" [21]=> string(36) "section%5B%5D%5Btitle%5D=Recognition" [22]=> string(45) "section%5B%5D%5Btitle%5D=Your+views+on+change" [23]=> string(50) "section%5B%5D%5Btitle%5D=Developing+a+new+identity" }