Documentation

Documentation

Table of Contents

Packages

Application

Namespaces

JSPHP

Classes

console
JSArray
JSFunction
JSNumber
JSObject
JSON
An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.
JSString
Allows manipulation and formatting of text strings and determination and location of substrings within strings.
Math
An intrinsic object that provides basic mathematics functionality and constants.
JSArray
JSON
An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.
JSArray

Constants

undefined  = \null

Functions

JSArray()  : JSArray<string|int, null>
String()  : JSString
Allows manipulation and formatting of text strings and determination and location of substrings within strings.
JSArray()  : JSArray<string|int, null>
JSArray()  : JSArray<string|int, T>

Constants

Functions

JSArray()

JSArray([int|null $arrayLength = null ]) : JSArray<string|int, null>
Parameters
$arrayLength : int|null = null
Tags
throws
OutOfRangeException

For invalid array length

Return values
JSArray<string|int, null>

String()

Allows manipulation and formatting of text strings and determination and location of substrings within strings.

String([string $value = '' ]) : JSString
Parameters
$value : string = ''
Return values
JSString

JSArray()

JSArray(int $arrayLength) : JSArray<string|int, null>
Parameters
$arrayLength : int
Tags
throws
OutOfRangeException

For invalid array length

Return values
JSArray<string|int, null>

JSArray()

JSArray(T ...$items) : JSArray<string|int, T>
Parameters
$items : T
Tags
template

T

Return values
JSArray<string|int, T>

Search results