3v4l.org

run code in 300+ PHP versions simultaneously
<?php //namespace crm; class et{ protected $table = "b"; public $field = "d"; private $x = "private!"; public function dump(){ var_dump( array_map('get_object_vars', [$this]) ); } } $et = new et(); $et->dump();

preferences:
54.71 ms | 402 KiB | 5 Q