3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class ContentHelper extends Concrete5_Helper_Content { } class Concrete5_Helper_Content { public function getNames() { return array( '__CLASS__' => __CLASS__, 'get_class()' => get_class(), 'get_class($this)' => get_class($this) ) } } $ch = new ContentHelper(); var_dump($ch->getNames());
Output for 5.3.0 - 5.5.11
Parse error: syntax error, unexpected '}' in /in/gKsUG on line 12
Process exited with code 255.