3v4l.org

run code in 200+ PHP versions simultaneously
<?php class OzanKlasse { public $someField = 'asd'; static function someFunction() { $self = new Self(); echo $self->someField; } }
based on kcSjj
Output for 7.2.0 - 7.4.2