3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urlParams = array( 'username' => $this->getIdUser(), 'password' => strtolower($this->getIdUser()), 'id' => $portfolioName, 'style' => 'JPM' ); echo str_replace('&amp;', '&', http_build_query($urlParams));

preferences:
27.94 ms | 402 KiB | 5 Q