From 21037ed93146282d4090b350446652b6b39e42f6 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Fri, 28 Jun 2024 04:52:41 +0900 Subject: [PATCH] Add new reference links in rayaop.c New reference links have been added in the rayaop.c file, providing more context and help over the struct functionality and the registration of the method intercept function. These links lead to additional resources on PHP internals and extension design. --- src/rayaop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rayaop.c b/src/rayaop.c index 807934c..58da4ef 100644 --- a/src/rayaop.c +++ b/src/rayaop.c @@ -18,6 +18,7 @@ /** * インターセプト情報を保持する構造体 * @link https://www.phpinternalsbook.com/php5/classes_objects/internal_structures_and_implementation.html + * @link http://php.adamharvey.name/manual/ja/internals2.variables.tables.php */ typedef struct _intercept_info { zend_string *class_name; // インターセプト対象のクラス名 @@ -245,6 +246,7 @@ PHP_MINFO_FUNCTION(rayaop) php_info_print_table_end(); // 情報テーブルの終了 } +// https://www.phpinternalsbook.com/php7/extensions_design/php_functions.html static const zend_function_entry rayaop_functions[] = { PHP_FE(method_intercept, arginfo_method_intercept) // method_intercept関数の登録 PHP_FE_END