As of PHP 5.4 the shorthand for echo that you are showing is enabled by default. Prior to that it must be enabled in the configuration via the short_open_tag directive.
It is changable PHP_INI_PERDIR
meaning that is can be set in the php.ini, server config or in .htaccess