3v4l.org

run code in 200+ 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 - 7.3.0rc4
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 - 7.0.20
00