Creates a copy whether in PHP5 or PHP4.
static object A
copy
(object $object)
-
object
$object: Thing to copy.
Test to see if an object is a member of a class hiearchy.
static boolean
isA
(object $object, string $class)
-
object
$object: Object to test.
-
string
$class: Root name of hiearchy.
Recursive type test for each element of an array.
static boolean
isArrayOfIdenticalTypes
(mixed $first, mixed $second)
-
mixed
$first: Test subject.
-
mixed
$second: Comparison object.
Identity test. Drops back to equality + types for PHP5 objects as the === operator counts as the stronger reference constraint.
static boolean
isIdentical
(mixed $first, mixed $second)
-
mixed
$first: Test subject.
-
mixed
$second: Comparison object.
Recursive type test.
static boolean
isIdenticalType
(mixed $first, mixed $second)
-
mixed
$first: Test subject.
-
mixed
$second: Comparison object.
Test for two variables being aliases.
static boolean
isReference
( &$first, &$second, mixed $first, mixed $second)
-
mixed
$first: Test subject.
-
mixed
$second: Comparison object.
-
&$first
-
&$second
Sets a socket timeout for each chunk.
static void
setTimeout
(resource $handle, integer $timeout)
-
resource
$handle: Socket handle.
-
integer
$timeout: Limit in seconds.