3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = 'name=Chandra&age=18&data%5Bsocial%5D%5Bmarks%5D=80&data%5Bsocial%5D%5Bgrade%5D=A%2B&data%5Benglish%5D%5Bmarks%5D=100&data%5Benglish%5D%5Bgrade%5D=B%2B'; parse_str($data, $data); var_export($data);
based on kkVq7
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array ( 'name' => 'Chandra', 'age' => '18', 'data' => array ( 'social' => array ( 'marks' => '80', 'grade' => 'A+', ), 'english' => array ( 'marks' => '100', 'grade' => 'B+', ), ), )