internal_functions.c.in 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* -*- C -*-
  2. +----------------------------------------------------------------------+
  3. | PHP Version 7 |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1997-2018 The PHP Group |
  6. +----------------------------------------------------------------------+
  7. | This source file is subject to version 3.01 of the PHP license, |
  8. | that is bundled with this package in the file LICENSE, and is |
  9. | available through the world-wide-web at the following url: |
  10. | http://www.php.net/license/3_01.txt |
  11. | If you did not receive a copy of the PHP license and are unable to |
  12. | obtain it through the world-wide-web, please send a note to |
  13. | license@php.net so we can mail you a copy immediately. |
  14. +----------------------------------------------------------------------+
  15. | Authors: Andi Gutmans <andi@php.net> |
  16. | Zeev Suraski <zeev@php.net> |
  17. +----------------------------------------------------------------------+
  18. */
  19. #include "php.h"
  20. #include "php_main.h"
  21. #include "zend_modules.h"
  22. #include "zend_compile.h"
  23. #include <stdarg.h>
  24. #include <stdlib.h>
  25. #include <stdio.h>
  26. @EXT_INCLUDE_CODE@
  27. static zend_module_entry * const php_builtin_extensions[] = {
  28. @EXT_MODULE_PTRS@
  29. };
  30. #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
  31. PHPAPI int php_register_internal_extensions(void)
  32. {
  33. return php_register_extensions(php_builtin_extensions, EXTCOUNT);
  34. }
  35. /*
  36. * Local variables:
  37. * tab-width: 4
  38. * c-basic-offset: 4
  39. * End:
  40. */