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:
29.77 ms | 404 KiB | 5 Q