3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a($a) { unset($a); var_dump(func_get_arg(0)); } a("1st"); ?>

Abusive script

This script was stopped while abusing our resources

Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.26, 7.3.0 - 7.3.13, 7.4.0 - 7.4.1
NULL
Output for 5.4.0 - 5.4.32, 5.4.34 - 5.4.45, 5.5.7 - 5.5.29, 5.5.31 - 5.5.38, 5.6.0 - 5.6.40
string(3) "1st"
Output for 5.4.33, 5.5.0 - 5.5.6, 5.5.30

Process exited with code 137.

preferences:
183.03 ms | 401 KiB | 242 Q