3v4l.org

run code in 200+ PHP versions simultaneously
<?php $foo = '123'; var_dump($baz = $foo);
based on KUENY
Output for 7.2.0 - 7.4.1
string(3) "123"