V8Js
PHP Manual

V8Js::getPendingException

(PECL v8js >= 0.1.0)

V8Js::getPendingExceptionReturn pending uncaught Javascript exception

说明

public V8JsException V8Js::getPendingException ( void )

Returns any pending uncaught Javascript exception as V8JsException left from earlier V8Js::executeString() call(s).

参数

此函数没有参数。

返回值

Either V8JsException or NULL.


V8Js
PHP Manual