Skip to content

Commit 2757a5d

Browse files
committed
Fix footnote
To be recognized as footnote referral, the marker needs to be space separated. To make the link work, we need to add a footnotes rubric heading.
1 parent de00e63 commit 2757a5d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Book/php7/extensions_design/hooks.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ The basic APIs in the engine are::
366366
void zend_set_user_opcode_handler(int opcode, user_opcode_handler_t handler);
367367
user_opcode_handler_t zend_get_user_opcode_handler(int opcode);
368368
369-
The `user_opcode_handler_t` is a function pointer, and each handler has the following signature[1]_::
369+
The `user_opcode_handler_t` is a function pointer, and each handler has the following signature [1]_::
370370

371371
int my_handler(zend_execute_data *execute_data);
372372

@@ -433,5 +433,7 @@ or let the engine do its normal behaviour::
433433

434434
return SUCCESS;
435435
}
436-
436+
437+
.. rubric:: Footnotes
438+
437439
.. [1] In PHP 8, this signature is changing and will differ on whether a specific GCC feature is enabled.

0 commit comments

Comments
 (0)