NAME ^

php_type.pir - PHP type Standard Library

DESCRIPTION ^

Functions ^

float floatval(mixed var)
Get the float value of a variable
string gettype(mixed var)
Returns the type of the variable
int intval(mixed var [, int base])
Get the integer value of a variable using the optional base for the conversion
bool is_array(mixed var)
Returns true if variable is an arrayNOT IMPLEMENTED.
bool is_bool(mixed var)
Returns true if variable is a boolean
bool is_callable(mixed var [, bool syntax_only [, string callable_name]])
Returns true if var is callable.NOT IMPLEMENTED.
bool is_float(mixed var)
Returns true if variable is float point
bool is_long(mixed var)
Returns true if variable is a long (integer)
bool is_null(mixed var)
Returns true if variable is null
bool is_numeric(mixed value)
Returns true if value is a number or a numeric string
bool is_object(mixed var)
Returns true if variable is an objectNOT IMPLEMENTED.
bool is_resource(mixed var)
Returns true if variable is a resourceNOT IMPLEMENTED.
bool is_scalar(mixed value)
Returns true if value is a scalar
bool is_string(mixed var)
Returns true if variable is a string
bool settype(mixed var, string type)
Set the type of the variableNOT IMPLEMENTED.
string strval(mixed var)
Get the string value of a variable


parrot