3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); class a { function b($var) { return $var . 'x'; } } $teste = new a(); echo $teste->b('oi');
Output for 4.3.0 - 7.2.0
oix