3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function getRef(&$tak) { $tak .= "tasads"; } $var = "Ta"; echo $var + "<br>"; getRef($var); echo $var + "<br>";
based on 0RnfE
Output for 7.1.0
Warning: A non-numeric value encountered in /in/eN92Z on line 7 Warning: A non-numeric value encountered in /in/eN92Z on line 7 0 Warning: A non-numeric value encountered in /in/eN92Z on line 13 Warning: A non-numeric value encountered in /in/eN92Z on line 13 0
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.0.14
00