zend_attributes_arginfo.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* This is a generated file, edit the .stub.php file instead.
  2. * Stub hash: 3fd949e1b9f49666bed3081ed1e8e711acd9f49c */
  3. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Attribute___construct, 0, 0, 0)
  4. ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "Attribute::TARGET_ALL")
  5. ZEND_END_ARG_INFO()
  6. ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReturnTypeWillChange___construct, 0, 0, 0)
  7. ZEND_END_ARG_INFO()
  8. ZEND_METHOD(Attribute, __construct);
  9. ZEND_METHOD(ReturnTypeWillChange, __construct);
  10. static const zend_function_entry class_Attribute_methods[] = {
  11. ZEND_ME(Attribute, __construct, arginfo_class_Attribute___construct, ZEND_ACC_PUBLIC)
  12. ZEND_FE_END
  13. };
  14. static const zend_function_entry class_ReturnTypeWillChange_methods[] = {
  15. ZEND_ME(ReturnTypeWillChange, __construct, arginfo_class_ReturnTypeWillChange___construct, ZEND_ACC_PUBLIC)
  16. ZEND_FE_END
  17. };
  18. static zend_class_entry *register_class_Attribute(void)
  19. {
  20. zend_class_entry ce, *class_entry;
  21. INIT_CLASS_ENTRY(ce, "Attribute", class_Attribute_methods);
  22. class_entry = zend_register_internal_class_ex(&ce, NULL);
  23. class_entry->ce_flags |= ZEND_ACC_FINAL;
  24. zval property_flags_default_value;
  25. ZVAL_UNDEF(&property_flags_default_value);
  26. zend_string *property_flags_name = zend_string_init("flags", sizeof("flags") - 1, 1);
  27. zend_declare_typed_property(class_entry, property_flags_name, &property_flags_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
  28. zend_string_release(property_flags_name);
  29. return class_entry;
  30. }
  31. static zend_class_entry *register_class_ReturnTypeWillChange(void)
  32. {
  33. zend_class_entry ce, *class_entry;
  34. INIT_CLASS_ENTRY(ce, "ReturnTypeWillChange", class_ReturnTypeWillChange_methods);
  35. class_entry = zend_register_internal_class_ex(&ce, NULL);
  36. class_entry->ce_flags |= ZEND_ACC_FINAL;
  37. return class_entry;
  38. }