3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var1=time(); $var2=&$var1; $var2='test'; var_dump($var1);

preferences:
29.31 ms | 402 KiB | 5 Q