3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = 'name=Chandra&age=18&data[social][marks]=80&data[social][grade]=A%2B&data[english][marks]=100&data[english][grade]=B%2B'; parse_str($data, $data); var_export($data);
based on v2s8Z
Output for 4.3.0 - 7.1.0
array ( 'name' => 'Chandra', 'age' => '18', 'data' => array ( 'social' => array ( 'marks' => '80', 'grade' => 'A+', ), 'english' => array ( 'marks' => '100', 'grade' => 'B+', ), ), )