3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class t { function a() { echo 'test'; } function e(){ echo 'as'; } } class i { function p() { echo 'test'; } function y(){ echo 'as'; } } $p = new i(); $p->p();
based on VFalA
Output for 4.3.0 - 7.2.0
test