Monday, May 13, 2013

PHP Functions



  • Any php function starts with function().
  • The name of the function cannot start with a number.
  • A PHP function cannot be overloaded or redefined.
  • PHP functions are case-insensitive.
  • The functions can be either user defined or in built.
  • Any variable declared and defined within a function is restricted within the function only – Unless, accompanied by “global” keyword.


No comments:

Post a Comment