3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function qs_search($qs) { parse_str($_SERVER['QUERY_STRING'], $query_string); $query_string['search'] = basename($qs); return http_build_query($query_string); } var_dump(qs_search("regular")(; var_dump(qs_search("Синодальный")(;
Output for 5.3.0 - 5.4.8
Parse error: syntax error, unexpected '(' in /in/bjYak on line 7
Process exited with code 255.