jsphp is a pseudo-implementation of the ECMA 262 standard (JavaScript 8.5.1) for PHP 5.3+, including JSBoolean, JSNumber, JSString, JSObject, JSArray, JSFunction, JSRegExp, JSDate, JSError and JSMath, aswell as prototype inheritence and chaining.