php_spl_arginfo.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /* This is a generated file, edit the .stub.php file instead.
  2. * Stub hash: 7359e9e5aa07c00d0e0be2642f11c1131a17e61e */
  3. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_implements, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
  4. ZEND_ARG_INFO(0, object_or_class)
  5. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, autoload, _IS_BOOL, 0, "true")
  6. ZEND_END_ARG_INFO()
  7. #define arginfo_class_parents arginfo_class_implements
  8. #define arginfo_class_uses arginfo_class_implements
  9. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload, 0, 1, IS_VOID, 0)
  10. ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0)
  11. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, file_extensions, IS_STRING, 1, "null")
  12. ZEND_END_ARG_INFO()
  13. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_call, 0, 1, IS_VOID, 0)
  14. ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0)
  15. ZEND_END_ARG_INFO()
  16. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_extensions, 0, 0, IS_STRING, 0)
  17. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, file_extensions, IS_STRING, 1, "null")
  18. ZEND_END_ARG_INFO()
  19. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_functions, 0, 0, IS_ARRAY, 0)
  20. ZEND_END_ARG_INFO()
  21. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_register, 0, 0, _IS_BOOL, 0)
  22. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callback, IS_CALLABLE, 1, "null")
  23. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, throw, _IS_BOOL, 0, "true")
  24. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, prepend, _IS_BOOL, 0, "false")
  25. ZEND_END_ARG_INFO()
  26. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_autoload_unregister, 0, 1, _IS_BOOL, 0)
  27. ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
  28. ZEND_END_ARG_INFO()
  29. #define arginfo_spl_classes arginfo_spl_autoload_functions
  30. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_object_hash, 0, 1, IS_STRING, 0)
  31. ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
  32. ZEND_END_ARG_INFO()
  33. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_spl_object_id, 0, 1, IS_LONG, 0)
  34. ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
  35. ZEND_END_ARG_INFO()
  36. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_iterator_apply, 0, 2, IS_LONG, 0)
  37. ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
  38. ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
  39. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, args, IS_ARRAY, 1, "null")
  40. ZEND_END_ARG_INFO()
  41. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_iterator_count, 0, 1, IS_LONG, 0)
  42. ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
  43. ZEND_END_ARG_INFO()
  44. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_iterator_to_array, 0, 1, IS_ARRAY, 0)
  45. ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
  46. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, preserve_keys, _IS_BOOL, 0, "true")
  47. ZEND_END_ARG_INFO()
  48. ZEND_FUNCTION(class_implements);
  49. ZEND_FUNCTION(class_parents);
  50. ZEND_FUNCTION(class_uses);
  51. ZEND_FUNCTION(spl_autoload);
  52. ZEND_FUNCTION(spl_autoload_call);
  53. ZEND_FUNCTION(spl_autoload_extensions);
  54. ZEND_FUNCTION(spl_autoload_functions);
  55. ZEND_FUNCTION(spl_autoload_register);
  56. ZEND_FUNCTION(spl_autoload_unregister);
  57. ZEND_FUNCTION(spl_classes);
  58. ZEND_FUNCTION(spl_object_hash);
  59. ZEND_FUNCTION(spl_object_id);
  60. ZEND_FUNCTION(iterator_apply);
  61. ZEND_FUNCTION(iterator_count);
  62. ZEND_FUNCTION(iterator_to_array);
  63. static const zend_function_entry ext_functions[] = {
  64. ZEND_FE(class_implements, arginfo_class_implements)
  65. ZEND_FE(class_parents, arginfo_class_parents)
  66. ZEND_FE(class_uses, arginfo_class_uses)
  67. ZEND_FE(spl_autoload, arginfo_spl_autoload)
  68. ZEND_FE(spl_autoload_call, arginfo_spl_autoload_call)
  69. ZEND_FE(spl_autoload_extensions, arginfo_spl_autoload_extensions)
  70. ZEND_FE(spl_autoload_functions, arginfo_spl_autoload_functions)
  71. ZEND_FE(spl_autoload_register, arginfo_spl_autoload_register)
  72. ZEND_FE(spl_autoload_unregister, arginfo_spl_autoload_unregister)
  73. ZEND_FE(spl_classes, arginfo_spl_classes)
  74. ZEND_FE(spl_object_hash, arginfo_spl_object_hash)
  75. ZEND_FE(spl_object_id, arginfo_spl_object_id)
  76. ZEND_FE(iterator_apply, arginfo_iterator_apply)
  77. ZEND_FE(iterator_count, arginfo_iterator_count)
  78. ZEND_FE(iterator_to_array, arginfo_iterator_to_array)
  79. ZEND_FE_END
  80. };