Метод | Описание | |
---|---|---|
@sizeof ( |
Counts items in a variable. If any item of the variable contains infinite recursion skips items that are repeating because of such recursion. |
|
boolval ( |
Converts to boolean.
|
|
count ( |
Counts items in a variable. If any item of the variable contains infinite recursion skips items that are repeating because of such recursion. |
|
doubleval ( |
Converts to double.
|
|
floatval ( |
Converts to double.
|
|
gettype ( |
Retrieves name of a variable type.
|
|
intval ( |
Converts to integer.
|
|
intval ( |
Converts to integer using a specified base.
|
|
is_array ( |
Checks whether a dereferenced variable is an PhpArray.
|
|
is_bool ( |
Checks whether a dereferenced variable is boolean.
|
|
is_callable ( |
Verifies that the contents of a variable can be called as a function.
|
|
is_callable ( |
Verifies that the contents of a variable can be called as a function.
|
|
is_double ( |
Checks whether a dereferenced variable is double. Alias for is_float().
|
|
is_float ( |
Checks whether a dereferenced variable is double.
|
|
is_int ( |
Checks whether a dereferenced variable is integer.
|
|
is_integer ( |
Checks whether a dereferenced variable is integer. Alias for is_int().
|
|
is_long ( |
Checks whether a dereferenced variable is long. TODO: Alias for is_int(). But not in Phalanger.
|
|
is_null ( |
Checks whether a dereferenced variable is a null reference.
|
|
is_numeric ( |
Checks whether a dereferenced variable is numeric.
|
|
is_object ( |
Checks whether a dereferenced variable is Core.Reflection.DObject.
|
|
is_real ( |
Checks whether a dereferenced variable is double. Alias for is_float().
|
|
is_resource ( |
Checks whether a dereferenced variable is a valid PhpResource.
|
|
is_scalar ( |
Checks whether a dereferenced variable is a scalar.
|
|
is_string ( |
Checks whether a dereferenced variable is string.
|
|
print_r ( |
Outputs or returns human-readable information about a variable.
|
|
settype ( |
Sets variable's type.
|
|
strval ( |
Converts to string.
|
|
var_dump ( |
Dumps variables.
|
|
var_export ( |
Outputs or returns a pars-able string representation of a variable.
|
Метод | Описание | |
---|---|---|
get_resource_type ( |
public static @sizeof ( |
||
variable | The variable which items to count. | |
mode | int | Whether to count recursively. |
Результат | long |
public static boolval ( |
||
variable | The variable. | |
Результат | bool |
public static count ( |
||
variable | The variable which items to count. | |
mode | int | Whether to count recursively. |
Результат | long |
public static doubleval ( |
||
variable | The variable. | |
Результат | double |
public static floatval ( |
||
variable | The variable. | |
Результат | double |
public static gettype ( |
||
variable | The variable. | |
Результат | string |
public static intval ( |
||
variable | The variable. | |
Результат | long |
public static intval ( |
||
variable | The variable. | |
@base | int | |
Результат | long |
public static is_array ( |
||
variable | The variable. | |
Результат | bool |
public static is_bool ( |
||
variable | The variable. | |
Результат | bool |
public static is_callable ( |
||
ctx | Current runtime context. | |
variable | The variable. | |
syntaxOnly | bool | If true, it is only checked that has |
callableName | string | Receives the name of the function or method (for example
/// |
Результат | bool |
public static is_callable ( |
||
variable | The variable. | |
syntaxOnly | bool | If true, it is only checked that has |
Результат | bool |
public static is_double ( |
||
variable | The variable. | |
Результат | bool |
public static is_float ( |
||
variable | The variable. | |
Результат | bool |
public static is_int ( |
||
variable | The variable. | |
Результат | bool |
public static is_integer ( |
||
variable | The variable. | |
Результат | bool |
public static is_long ( |
||
variable | The variable. | |
Результат | bool |
public static is_null ( |
||
variable | The variable. | |
Результат | bool |
public static is_numeric ( |
||
variable | The variable. | |
Результат | bool |
public static is_object ( |
||
variable | The variable. | |
Результат | bool |
public static is_real ( |
||
variable | The variable. | |
Результат | bool |
public static is_resource ( |
||
variable | The variable. | |
Результат | bool |
public static is_scalar ( |
||
variable | The variable. | |
Результат | bool |
public static is_string ( |
||
variable | The variable. | |
Результат | bool |
public static print_r ( |
||
ctx | Current runtime context. | |
value | The variable. | |
returnString | bool | Whether to return a string representation. |
Результат |
public static settype ( |
||
ctx | Current runtime context. | |
variable | The variable. | |
type | string | The string identifying a new type. See PHP manual for details. |
Результат | bool |
public static strval ( |
||
ctx | Current runtime context. | |
variable | The variable. | |
Результат | string |
public static var_dump ( |
||
ctx | Current runtime context. | |
Результат | void |
public static var_export ( |
||
ctx | Current runtime context. | |
variable | The variable. | |
returnString | bool | Whether to return a string representation. |
Результат | string |