Program #1
Just the Basics of PHP Data Types

EXAMPLE DATA Displayed "value" from variable(s) $testing
DATA TYPE using GETTYPE function
Data #1
NULL
Data #2 5
integer
Data #3 five
string
Data #4 5.5
double
Data #5 1
boolean value = TRUE
boolean
Data #6
boolean value = FALSE
boolean
Data #7
FALSE changed to INTEGER
0
integer
Data #8 1
boolean value=TRUE changed to STRING
1
string
Data #9 This is a 1row X 5columns array!
arrayThe number of elements = 5
Data #10 This is an object using a function called sayHello
object
  SOURCE CODE: Click HERE
[Top]
Last Updated : Friday, September 17, 2004 21:39

(c) 2004 Robin Y. Mabry Hubbard 4ascii@marz.com