3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo($arg) { } $a = "some var"; $b = &$a; /* turn $a and $b into references */ foo($a); /* Reference mismatch */ foo($b); /* idem */
Output for 4.3.0 - 7.1.0