3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $urlParams = array( 'username' => "test", 'password' => strtolower("test"), 'id' => $portfolioName, 'style' => 'JPM' ); echo str_replace('&amp;', '&', http_build_query($urlParams));
based on kQj4i
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.2.6
Notice: Undefined variable: portfolioName in /in/Ib3LL on line 6 username=test&password=test&style=JPM
Output for hhvm-3.15.4
Notice: Undefined variable: portfolioName in /in/Ib3LL on line 8 username=test&password=test&style=JPM