Archive for June, 2010

Arrays in PHP

A standard datatype which can hold one or more than one value.

Two Type of Array

1. Indexed Array

  • Single Dimentional
  • Multi Dimentional

2. Associative Array

  • Single Dimentional
  • Multi Dimentional

1 comment - What do you think?  Posted by admin - June 12, 2010 at 9:28 pm

Categories: Array, PHP - Hypertext Preprocessor   Tags:

Function In PHP

There are two types of function

1. User Defined Function

  • Function without arguments
  • Function with arguments
  • Function with default arguments
  • Function call by value
  • Function call by reference

2. Pre Defined Function

Be the first to comment - What do you think?  Posted by admin - at 9:18 pm

Categories: function, PHP - Hypertext Preprocessor   Tags: ,

Operator in PHP

  • Assignment Operator
  • Arithmetic Operator
  • Comparison Operator Ex :
    ==, !=, >=, <=, <, >
    ===, !==
  • Conditional Operator
    Ex:
    &&, ||, !
  • Intertical Operator
  • Bitwise Operator
    Eg.
    & (And), | (Or), ^ (Xor), << (Left Shift), >> (Right Shift)
  • Increament / Decreament
  • Ternary Operator

Be the first to comment - What do you think?  Posted by admin - at 9:00 pm

Categories: Operator, PHP - Hypertext Preprocessor   Tags:

Data Types in PHP

There are two data types in PHP

1. Standard Data Types

  • Integer
  • Double
  • Boolean
  • String
  • Object
  • Array

2. Special Data Type

  • Null
  • Resource

Be the first to comment - What do you think?  Posted by admin - at 8:43 pm

Categories: PHP - Hypertext Preprocessor   Tags: ,