3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Anil kumar\r\nAhmedabad\r\nAhmedabad,Goa - 380015, India"; $order = array("\r\n", "\n", "\r"); $order1 = array("<br />", "<br />", "<br />"); echo str_replace($order, $order1, $HotArr['billaddress'])."<br />";
Output for git.master, git.master_jit
Warning: Undefined variable $HotArr in /in/0Qj6t on line 6 Warning: Trying to access array offset on value of type null in /in/0Qj6t on line 6 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/0Qj6t on line 6 <br />
Output for rfc.property-hooks
Warning: Undefined variable $HotArr in /in/0Qj6t on line 6 Warning: Trying to access array offset on null in /in/0Qj6t on line 6 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/0Qj6t on line 6 <br />

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