I already searched for the latest coding style/standards but most of the links are an year or two old and referring to this link Zend Coding Style. However the link is for version 1.12
. My only point is this, now a days most of the people are declaring the functions in this style --
public function myfun ( ) {
....
....
}
and on Zend
tutorial its something like this -
public function myfun()
{
// all contents of function
// must be indented four spaces
}
I am aware that this wont affect the functionality and its depend person to person, its just about following the best/latest
practices, let me know if thr is any relevant link
regarding this for following the best practices in coding style in php
.