3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); class bsd { function print_p(){ $this->p = "hallo"; var_dump( $this->p); } } $bsd = new bsd; $bsd->print_p();
Output for 4.3.0 - 7.1.0
string(5) "hallo"