zend_default_classes.c 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. +----------------------------------------------------------------------+
  3. | Zend Engine |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) |
  6. +----------------------------------------------------------------------+
  7. | This source file is subject to version 2.00 of the Zend 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.zend.com/license/2_00.txt. |
  11. | If you did not receive a copy of the Zend license and are unable to |
  12. | obtain it through the world-wide-web, please send a note to |
  13. | license@zend.com so we can mail you a copy immediately. |
  14. +----------------------------------------------------------------------+
  15. | Authors: Sterling Hughes <sterling@php.net> |
  16. | Marcus Boerger <helly@php.net> |
  17. +----------------------------------------------------------------------+
  18. */
  19. #include "zend.h"
  20. #include "zend_API.h"
  21. #include "zend_attributes.h"
  22. #include "zend_builtin_functions.h"
  23. #include "zend_interfaces.h"
  24. #include "zend_exceptions.h"
  25. #include "zend_closures.h"
  26. #include "zend_generators.h"
  27. #include "zend_weakrefs.h"
  28. #include "zend_enum.h"
  29. #include "zend_fibers.h"
  30. ZEND_API void zend_register_default_classes(void)
  31. {
  32. zend_register_interfaces();
  33. zend_register_default_exception();
  34. zend_register_iterator_wrapper();
  35. zend_register_closure_ce();
  36. zend_register_generator_ce();
  37. zend_register_weakref_ce();
  38. zend_register_attribute_ce();
  39. zend_register_enum_ce();
  40. zend_register_fiber_ce();
  41. }