3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'BUTTONSOURCE[18]=AngellEYE_PHPClass&VERBOSITY[4]=HIGH&USER[6]=tester'; preg_match_all('/([^=&]+)\=([^=&]+)/', $data, $result); $result = array_combine($result[1], $result[2]); var_dump($result);

preferences:
25.63 ms | 402 KiB | 5 Q