3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar = 'barValue'; protected $baz = 'bazValue'; private $tab = 'tabValue'; } $foo = new Foo(); var_dump($foo->{"\0*\0baz"}); var_dump($foo->{"\0Foo\0tab"});

preferences:
30.76 ms | 404 KiB | 5 Q