3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class induk{ protected $tinggi=6; protected $alas=20; public function SetTinggi(){ return ($this->tinggi/2); } } $cp2 =new induk(); echo $cp2 ->SetTinggi();
based on Pg9IV
Output for 5.6.38 - 7.3.0rc3
3