10-switch/index.php File Reference

This program demonstrates use of switch construct for PHP. More...

Go to the source code of this file.

Enumerations

enum  CHOICE
 Constant for selecting choice as we do not know how to take input from user yet :(. More...

Functions

 main ()
 This function uses switch statement for demonstration.


Detailed Description

This program demonstrates use of switch construct for PHP.

Author:
Saurabh Barjatiya
Version:
1.0

Definition in file index.php.


Enumeration Type Documentation

enum CHOICE

Constant for selecting choice as we do not know how to take input from user yet :(.

Definition at line 13 of file index.php.


Function Documentation

main (  ) 

This function uses switch statement for demonstration.

Returns:
Nothing

Definition at line 20 of file index.php.


Generated on Fri Nov 4 14:16:54 2011 for PHP example documentation by  doxygen 1.4.7