You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Always use <?php to delimit PHP code, not the shorthand, <?, as this is the most used and supported across PHP setups and the one PHP will continue supporting in the future.
Use PHP5 style code conventions
Class constructors should be public function __construct(). Use destructors when appropriate.
Explicitly declare visibility (public, private, protected) for member variables and methods.
As per Zend framework style guide, do NOT use PHP closing tags:
“For files that contain only PHP code, the closing tag (”?>") is never permitted. It is not required by PHP, and omitting it´ prevents the accidental injection of trailing white space into the response."