3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class boo{ function __constructor(){ $this->sagHallo(); } private function sagHallo(){ echo "Hallo :D"; } } $bla= new boo();
based on gDL0t
Output for 5.6.0 - 7.3.0alpha1