Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit a05c67a

Browse files
committed
Add missed PrimitiveValue::value() abstract method
1 parent babba44 commit a05c67a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: src/php_v8_primitive.cc

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ zend_class_entry* php_v8_primitive_class_entry;
2222
#define this_ce php_v8_primitive_class_entry
2323

2424

25+
PHP_V8_ZEND_BEGIN_ARG_WITH_RETURN_VOID_INFO_EX(arginfo_value, 0)
26+
ZEND_END_ARG_INFO()
27+
28+
2529
static const zend_function_entry php_v8_primitive_methods[] = {
26-
PHP_FE_END
30+
PHP_V8_ABSTRACT_ME(PrimitiveValue, value)
31+
PHP_FE_END
2732
};
2833

2934

Diff for: tests/001-verify_extension_entities.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ abstract class V8\Value
605605

606606
abstract class V8\PrimitiveValue
607607
extends V8\Value
608+
abstract public function value()
608609

609610
class V8\UndefinedValue
610611
extends V8\PrimitiveValue

0 commit comments

Comments
 (0)