3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar = 'barValue'; protected $baz = 'bazValue'; private $tab = 'tabValue'; } echo serialize(new Foo()); var_dump(get_object_vars(new Foo()));

preferences:
41.56 ms | 402 KiB | 5 Q