sprite 1 sprite 30
functions-online

General

Execute and test PHP functions that have no place in one of the other categories.

intval

Returns the integer value of $var, using the specified $base for the conversion (the default is base 10).

json_decode

Json_decode() takes a JSON encoded string and converts it into a PHP variable.

json_encode

Returns a string containing the JSON representation of $value.

serialize

Generates a storable representation of a value. This is useful for storing or passing PHP values around without losing their type and structure.

strval

Returns the string value of $var. $var may be any scalar type. You cannot use strval() on arrays or objects.

unserialize

unserialize() takes a single serialized variable and converts it back into a PHP value.