3v4l.org

run code in 200+ PHP versions simultaneously
<?php define('FOO', bin2hex(random_bytes(32))); class Bar { const BAZ = FOO; } var_dump(Bar::BAZ);