3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new stdClass(); $test = 'VPN_MANAGE_ALL'; $foo->$test = 7; var_dump($foo);

preferences:
37.35 ms | 402 KiB | 5 Q