3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = new Test; print_r($test->holder); class Test { public $holder; public static function method() { //print_r(self::holder); //Test::holder = array('one' => 'item'); } }

preferences:
35.26 ms | 402 KiB | 5 Q