3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://medium.com/on-coding/5963ca9d6499'; $params = array( 'type' => '11', 'PPSX' => 'Pass', 'NewUser' => '1', 'LoginOptions' => '1', 'i3' => '71126', 'm1' => '1366', 'm2' => '768', 'm3' => '0', 'i12' => '1', 'i17' => '0', 'i18' => '__Login_Host|1,', ); $array_keys = array_keys($params); var_export($array_keys[0]); exit; if ($array_keys[0] = 0) { foreach ($params as &$params) { implode('=', $params); } } if (substr($url, -1) !== '?') { if (substr($url, -1) !== '/') { $url .= '/'; } $url .= '?'; } print $url .= implode('&', $params);
Output for git.master, git.master_jit, rfc.property-hooks
'type'

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
50.3 ms | 401 KiB | 8 Q