Function PHP [Part 1]

Function or functions in PHP is a series of scripts that have utility (function) of a special program that has been initialized.

Functions can be divided into:
Built-in
User-defined function
External


Built-in function

Is a function that has been provided by the PHP that can necessarily be (directly) used / execution.
Various buil-in functions:
  • Functions for arrays,
  •  mathematical function,
  • Function string / text processing
  • Function date
  • The function checks the data type, the database functions
  • Function and xml web, networking functions, etc.
To function date (date), and xml string will be described in a separate section.
An example of a buil-in function is a mathematical function in the search for value, eg searching for the root value of the quadrat, the quadrat values​​, trigonometric, etc

Exaple

Output



Share on Google Plus

About Elmirakom

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment