pdo_arginfo.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* This is a generated file, edit the .stub.php file instead.
  2. * Stub hash: 8d975a20d009e827f8d72ac19b94b55870b6bf9c */
  3. ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pdo_drivers, 0, 0, IS_ARRAY, 0)
  4. ZEND_END_ARG_INFO()
  5. ZEND_FUNCTION(pdo_drivers);
  6. static const zend_function_entry ext_functions[] = {
  7. ZEND_FE(pdo_drivers, arginfo_pdo_drivers)
  8. ZEND_FE_END
  9. };
  10. static const zend_function_entry class_PDOException_methods[] = {
  11. ZEND_FE_END
  12. };
  13. static zend_class_entry *register_class_PDOException(zend_class_entry *class_entry_RuntimeException)
  14. {
  15. zend_class_entry ce, *class_entry;
  16. INIT_CLASS_ENTRY(ce, "PDOException", class_PDOException_methods);
  17. class_entry = zend_register_internal_class_ex(&ce, class_entry_RuntimeException);
  18. zval property_code_default_value;
  19. ZVAL_LONG(&property_code_default_value, 0);
  20. zend_string *property_code_name = zend_string_init("code", sizeof("code") - 1, 1);
  21. zend_declare_property_ex(class_entry, property_code_name, &property_code_default_value, ZEND_ACC_PROTECTED, NULL);
  22. zend_string_release(property_code_name);
  23. zval property_errorInfo_default_value;
  24. ZVAL_NULL(&property_errorInfo_default_value);
  25. zend_string *property_errorInfo_name = zend_string_init("errorInfo", sizeof("errorInfo") - 1, 1);
  26. zend_declare_typed_property(class_entry, property_errorInfo_name, &property_errorInfo_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY|MAY_BE_NULL));
  27. zend_string_release(property_errorInfo_name);
  28. return class_entry;
  29. }