Sunday, November 11, 2012

Learning PHP - Constants

Constants

- an identifier for a simple value
- associated value cannot change by the program during its execution
- case sensitive, always uppercase by convention
- must begin with a letter or underscore
- define a constant by using define( ) function or const keyword
   ( when const is used, constants cannot be declared inside functions, loops or if statements )









Learning PHP - String Concatenation

Learning PHP - Variables

 

No comments:

Post a Comment

Popular Posts