3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr =['img src="images/Selection_005.png"', 'img src="images/Selection_006.png"', '<img src="documents/Selection_005.png" alt="" width="199" height="120" /></p>']; $find = ["images","documents"]; $replace ="/documents/20143/0"; Foreach($arr as $link){ Echo str_replace($find, $replace, $link) ."\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
img src="//documents/20143/0/20143/0/Selection_005.png" img src="//documents/20143/0/20143/0/Selection_006.png" <img src="/documents/20143/0/Selection_005.png" alt="" width="199" height="120" /></p>

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:
174.61 ms | 405 KiB | 5 Q