3v4l.org

run code in 300+ PHP versions simultaneously
<?php function go_replace_get($tip,$id1="",$id2="",$id3="",$id4="",$id5="") { global $ayar; $tip = 'aktif_'.$tip.'_redirect'; $url = $ayar[$tip]; $url = preg_replace('@{id1}@si',$id1,$url); $url = preg_replace('@{id2}@si',$id2,$url); $url = preg_replace('@{id3}@si',$id3,$url); $url = preg_replace('@{id4}@si',$id4,$url); $url = preg_replace('@{id5}@si',$id5,$url); return $url; } echo go_replace_get("okru",'34135411244',"","");
Output for git.master, git.master_jit
Warning: Trying to access array offset on value of type null in /in/dETOD on line 6 Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/dETOD on line 7
Output for rfc.property-hooks
Warning: Trying to access array offset on null in /in/dETOD on line 6 Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/dETOD on line 7

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:
56.51 ms | 401 KiB | 8 Q