3v4l.org

run code in 200+ PHP versions simultaneously
<?php $foo = '123'; var_dump(($baz = $foo) !== null);
based on 2r7CG
Output for 7.2.0 - 7.4.1
bool(true)