0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 18:41:52 +00:00

Fix compilation with PHP 5.5

This commit is contained in:
Stefan Siegl 2016-03-25 22:55:11 +01:00
parent 93b1118fe8
commit 5595c3bbd7

View File

@ -332,7 +332,8 @@ static int v8js_v8object_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS)
if (obj->std.ce == php_ce_v8object && result->StrictEquals(thisObj)) {
/* JS code did "return this", retain object identity */
RETVAL_ZVAL(object, 1, 0);
ZVAL_COPY_VALUE(return_value, object);
zval_copy_ctor(return_value);
result.Clear();
}