3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); class A { private function b(){ echo 'hello'; } public function c(){ $this::b(); } } $a = new A(); $a->c();
based on osQMd
Output for 5.5.0 - 7.3.1
hello