3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class a { function b() { print_r(array_map(array($this, 'c'), array(1))); } private function c($d) {return $d+1} }
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected '}' in /in/pl5gT on line 7
Process exited with code 255.