3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = 5; mul($c = $t); function &copy($t) { return $t; } function mul(&$t) { $t *= 5; } var_dump($t);
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
Fatal error: Cannot redeclare copy() in /in/r1aHF on line 9
Process exited with code 255.

preferences:
190.96 ms | 1399 KiB | 66 Q