3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "new_worksheet_name=&new_worksheet_campaign=&new_worksheet_recording_group=102%2C101%2C104&new_worksheet_vendors=&new_worksheet_publishers=&new_worksheet_agents=&new_worksheet_questions=&new_question_name_1=&new_question_text_1=&new_question_weight_1=&new_question_name_2=&new_question_text_2=&new_question_weight_2=&new_question_name_3=&new_question_text_3=&new_question_weight_3=&new_question_name_4=&new_question_text_4=&new_question_weight_4=&new_question_name_5=&new_question_text_5=&new_question_weight_5=&new_question_name_6=&new_question_text_6=&new_question_weight_6=&new_question_name_7=&new_question_text_7=&new_question_weight_7=&new_question_name_8=&new_question_text_8=&new_question_weight_8=&new_question_name_9=&new_question_text_9=&new_question_weight_9=&new_question_name_10=&new_question_text_10=&new_question_weight_10="; parse_str($string, $test); var_dump($test);
based on 1Etl4
Output for 4.3.0 - 7.2.0
array(37) { ["new_worksheet_name"]=> string(0) "" ["new_worksheet_campaign"]=> string(0) "" ["new_worksheet_recording_group"]=> string(11) "102,101,104" ["new_worksheet_vendors"]=> string(0) "" ["new_worksheet_publishers"]=> string(0) "" ["new_worksheet_agents"]=> string(0) "" ["new_worksheet_questions"]=> string(0) "" ["new_question_name_1"]=> string(0) "" ["new_question_text_1"]=> string(0) "" ["new_question_weight_1"]=> string(0) "" ["new_question_name_2"]=> string(0) "" ["new_question_text_2"]=> string(0) "" ["new_question_weight_2"]=> string(0) "" ["new_question_name_3"]=> string(0) "" ["new_question_text_3"]=> string(0) "" ["new_question_weight_3"]=> string(0) "" ["new_question_name_4"]=> string(0) "" ["new_question_text_4"]=> string(0) "" ["new_question_weight_4"]=> string(0) "" ["new_question_name_5"]=> string(0) "" ["new_question_text_5"]=> string(0) "" ["new_question_weight_5"]=> string(0) "" ["new_question_name_6"]=> string(0) "" ["new_question_text_6"]=> string(0) "" ["new_question_weight_6"]=> string(0) "" ["new_question_name_7"]=> string(0) "" ["new_question_text_7"]=> string(0) "" ["new_question_weight_7"]=> string(0) "" ["new_question_name_8"]=> string(0) "" ["new_question_text_8"]=> string(0) "" ["new_question_weight_8"]=> string(0) "" ["new_question_name_9"]=> string(0) "" ["new_question_text_9"]=> string(0) "" ["new_question_weight_9"]=> string(0) "" ["new_question_name_10"]=> string(0) "" ["new_question_text_10"]=> string(0) "" ["new_question_weight_10"]=> string(0) "" }