3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url('mysql://b1fd5e19d6ef93:58b0ec1e@us-cdbr-iron-east-01.cleardb.net/heroku_8495a381110d8db?reconnect=true'));
Output for 4.3.0 - 7.1.0
array(6) { ["scheme"]=> string(5) "mysql" ["host"]=> string(32) "us-cdbr-iron-east-01.cleardb.net" ["user"]=> string(14) "b1fd5e19d6ef93" ["pass"]=> string(8) "58b0ec1e" ["path"]=> string(23) "/heroku_8495a381110d8db" ["query"]=> string(14) "reconnect=true" }