3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "www.mylink1.com,link copy 1 www.mylink2.com, link copy 2 www.mylink3.com,link copy 3"; $lines = explode(PHP_EOL, $str); Foreach($lines as $line){ $linktext = explode(",", $line); Echo "<li><a href='$linktext[0]'>$linktext[1]</a></li>\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
<li><a href='www.mylink1.com'>link copy 1</a></li> <li><a href='www.mylink2.com'> link copy 2</a></li> <li><a href='www.mylink3.com'>link copy 3</a></li>

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