Creates a copy whether in PHP5 or PHP4.
object A
copy
(object $object)
-
object
$object: Thing to copy.
Test to see if an object is a member of a class hiearchy.
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.
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.
boolean
isIdentical
(mixed $first, mixed $second)
-
mixed
$first: Test subject.
-
mixed
$second: Comparison object.
Recursive type test.
boolean
isIdenticalType
(mixed $first, mixed $second)
-
mixed
$first: Test subject.
-
mixed
$second: Comparison object.
Test for two variables being aliases.
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.
void
setTimeout
(resource $handle, integer $timeout)
-
resource
$handle: Socket handle.
-
integer
$timeout: Limit in seconds.