3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace security; function get_user() { $user = (object) array('email' => 'abcd@abcd.com', 'name' => 'John Doe'); return $user; } echo "<li><p class=\"navbar-text\">Welcome, {${\security\get_user()->name}</p></li>";
Output for 5.3.0 - 5.4.19
Parse error: syntax error, unexpected '<', expecting '}' in /in/dMrGe on line 9
Process exited with code 255.