Archive for June, 2008

Introduction to Functions in PHP

Wednesday, June 4th, 2008

First of all what is a Function? A Function is a small set of statements defined by the programmer to do a specific action. They take input values in the form of ‘arguments‘ and return values after execution. They can be written anywhere in the program. They are used to reduce the programming complexity and to handle the programming structures easily. The function takes an input, performs some operation with it and returns a value after successful execution. Functions are basically of two types, namely:

  • Functions with no return value
  • Functions with return values

-Source


Bad Behavior has blocked 238 access attempts in the last 7 days.