Zymba Documentation
Var
Text
object @Var() {
clone(mixed $value): mixed {}
cloneDeep(mixed $value): mixed {}
compare(mixed $value1, mixed $value2): int {}
count(mixed $value): int {}
countGlobalVariables(): int {}
exists(mixed $value): bool {}
fromJSON(string $string): mixed {}
fromSerializedPHP(string $string): mixed {}
isBool(mixed $value): bool {}
isComplex(mixed $value): bool {}
isEmpty(mixed $value): bool {}
isFloat(mixed $value): bool {}
isFunction(mixed $value): bool {}
isInt(mixed $value): bool {}
isNull(mixed $value): bool {}
isNumber(mixed $value): bool {}
isNumeric(mixed $value): bool {}
isObject(mixed $value): bool {}
isScalar(mixed $value): bool {}
isString(mixed $value): bool {}
isValidJSON(string $string): bool {}
listGlobalVariableNames(): object {}
listGlobalVariables(): object {}
pack(string $format, ...$arguments): string {}
toJSON(mixed $value): string {}
toPrettyJSON(mixed $value): string {}
toSerializedPHP(mixed $value): string {}
toSource(mixed $value): string {}
typeOf(mixed $value): string {}
unpack(string $format, string $string): object {}
}
Static variable related functions.
Functions
Counts the total number of global variables.
CODE
@Var.countGlobalVariables(): int
Returns
| Type | Value |
|---|---|
int |
Lists all variable names of global scope.
CODE
@Var.listGlobalVariableNames(): object
Returns
| Type | Value |
|---|---|
object | [name, ...] |
Lists all variables of global scope.
CODE
@Var.listGlobalVariables(): object
Returns
| Type | Value |
|---|---|
object | [name: value, ...] |