phpinternalsbook / PHP-Internals-Book

PHP Internals Book
http://www.phpinternalsbook.com/
Other
1.39k stars 177 forks source link

fix: add missing PHP_FE_END in example #114

Closed b-viguier closed 2 years ago

b-viguier commented 2 years ago

Hi :wave: :slightly_smiling_face:

The first example to register a C function lacks a PHP_FE_END to properly finish the declaration of the zend_function_entry. Without this line, I reached a Segmentation Fault ...

Thank you very much for this very important documentation about Php internals! :bow: