<?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§ion%5B%5D%5Btitle%5D=Your+current+identity§ion%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=5§ion%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=What's+going+on+here%3F§ion%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=This+is+option+1§ion%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=Option+2!§ion%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=And+number+3!§ion%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=1§ion%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=Hi§ion%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=1§ion%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=Hello§ion%5B%5D%5Btitle%5D=Identity+management§ion%5B%5D%5Btitle%5D=Brand+building§ion%5B%5D%5Btitle%5D=Recognition§ion%5B%5D%5Btitle%5D=Your+views+on+change§ion%5B%5D%5Btitle%5D=Developing+a+new+identity";
echo var_dump(explode('&', $s));
- 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.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- 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"
}
preferences:
242.89 ms | 410 KiB | 313 Q