empty PHP 3.0

bool empty(mixed var)

 

Determines whether a variable is empty.

floatval PHP 4.1.0

float floatval(mixed var)

 

Gets the float value of a variable.

get_defined_vars PHP 4.0.4

array get_defined_vars(void)

 

Returns an associative array of names and values of all currently defined variable names (variables in the current scope).

get_resource_type PHP 4.0.2

string get_resource_type(resource res)

 

Gets the resource type name for a given resource.

gettype PHP 3.0

string gettype(mixed var)

 

Returns the type of the variable.

import_request_variables PHP 4.1.0

bool import_request_variables(string types[, string prefix])

 

Imports GET/POST/Cookie variables into the global scope.

intval PHP 3.0

int intval(mixed var[, int base])

 

Gets the integer value of a variable using the optional base for the conversion.

is_array PHP 3.0

bool is_array(mixed var)

 

Returns true if the variable is an array.

is_bool PHP 4.0

bool is_bool(mixed var)

 

Returns true if variable is a boolean.

is_callable PHP 4.0.6

bool is_callable(mixed var[, bool syntax_only[, string callable_name]])

 

Returns true if variable is callable.

is_float PHP 3.0

bool is_float(mixed var)

 

Returns true if variable is float point.

is_long PHP 3.0

bool is_long(mixed var)

 

Returns true if variable is a long (integer).

is_null PHP 4.0.4

bool is_null(mixed var)

 

Returns true if variable is NULL.

is_numeric PHP 4.0

bool is_numeric(mixed value)

 

Returns true if value is a number or a numeric string.

is_object PHP 3.0

bool is_object(mixed var)

 

Returns true if variable is an object.

is_resource PHP 4.0

bool is_resource(mixed var)

 

Returns true if variable is a resource.

is_scalar PHP 4.0.5

bool is_scalar(mixed value)

 

Returns true if value is a scalar.

is_string PHP 3.0

bool is_string(mixed var)

 

Returns true if variable is a string.

isset PHP 3.0

bool isset(mixed var[, mixed var[, ...]])

 

Determines whether a variable is set.

serialize PHP 3.0.5

string serialize(mixed variable)

 

Returns a string representation of variable (that can later be unserialized).

settype PHP 3.0

bool settype(mixed var, string type)

 

Sets the type of the variable.

strval PHP 3.0

string strval(mixed var)

 

Gets the string value of a variable.

unserialize PHP 3.0.5

mixed unserialize(string variable_representation)

 

Takes a string representation of variable and recreates it.

unset PHP 3.0

void unset(mixed var[, mixed var[, ...]])

 

Unsets a given variable.

var_dump PHP 3.0.5

void var_dump(mixed var)

 

Dumps a string representation of a variable to output.

var_export PHP 4.1.0

mixed var_export(mixed var[, bool return])

 

Outputs or returns a string representation of a variable.