3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); str_replace($x, $y, $z);
Output for 5.2.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: x in /in/SpVBf on line 4 Notice: Undefined variable: y in /in/SpVBf on line 4 Notice: Undefined variable: z in /in/SpVBf on line 4
Output for 5.0.4 - 5.2.2
<br /> <b>Notice</b>: Undefined variable: x in <b>/in/SpVBf</b> on line <b>4</b><br /> <br /> <b>Notice</b>: Undefined variable: y in <b>/in/SpVBf</b> on line <b>4</b><br /> <br /> <b>Notice</b>: Undefined variable: z in <b>/in/SpVBf</b> on line <b>4</b><br />
Output for 4.3.0 - 5.0.3
<br /> <b>Notice</b>: Undefined variable: x in <b>/in/SpVBf</b> on line <b>4</b><br /> <br /> <b>Notice</b>: Undefined variable: y in <b>/in/SpVBf</b> on line <b>4</b><br /> <br /> <b>Notice</b>: Undefined variable: z in <b>/in/SpVBf</b> on line <b>4</b><br />