3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class user_message { public $message = 'Hello All, I am '; public function introduce($name) { return $this->message.$name.; } } $mymessage = New user_message(); echo $mymessage->introduce('Scott'); ?>
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected ';' in /in/O3v7l on line 6
Process exited with code 255.