Functions in PHP are blocks of code or subalgorithms that can be reused and help solve a specific task. Functions must be defined before they are called or referenced.
read moreA function is a subprogram or subroutine that realize a specific task, that could be called and reused. On JavaScript, the functions are objects and could be used in that way. Object Functions
read more