Other PHP Types
Object: standard O-O notion of data values plus methods
// creating an object of class foo
$x = new foo; $x->method(1,'a');
|
Resource: special type for references to external resources
- e.g. database connections/cursors, file handles, ...
NULL: a distinguished value NULL (or null , case-insensitive)
- used to indicate that a variable exists but has no value
- related functions:
isset($v) , unset($v) , $v = null
|