3v4l.org

run code in 300+ PHP versions simultaneously
<?php class V { public $something1 = null; protected $something2 = false; private $something3 = 'HELLO'; const HELLO = 'DUDE'; public static $hello = 'DUDE'; public function __construct() { print_r( get_object_vars( $this ) ); } } $v = new V;

preferences:
45.12 ms | 402 KiB | 5 Q