mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-03 14:31:53 +00:00
PHP7 adapt: fix zend_register_resource/compileString
This commit is contained in:
parent
a91d2bc413
commit
19a67118b5
@ -565,7 +565,7 @@ static PHP_METHOD(V8Js, compileString)
|
||||
|
||||
v8js_compile_script(getThis(), str, identifier, &res TSRMLS_CC);
|
||||
if (res) {
|
||||
RETURN_RES(zend_register_resource(res, le_v8js_script));
|
||||
RETVAL_RES(zend_register_resource(res, le_v8js_script));
|
||||
|
||||
v8js_ctx *ctx;
|
||||
ctx = Z_V8JS_CTX_OBJ_P(getThis());
|
||||
|
Loading…
Reference in New Issue
Block a user