xref: /php-src/ext/pdo/pdo_arginfo.h (revision 7a8b1f68)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: dc41dddeea1ae117c6f2f3447afb29bf6623b757 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pdo_drivers, 0, 0, IS_ARRAY, 0)
5 ZEND_END_ARG_INFO()
6 
7 ZEND_FUNCTION(pdo_drivers);
8 
9 static const zend_function_entry ext_functions[] = {
10 	ZEND_FE(pdo_drivers, arginfo_pdo_drivers)
11 	ZEND_FE_END
12 };
13 
register_class_PDOException(zend_class_entry * class_entry_RuntimeException)14 static zend_class_entry *register_class_PDOException(zend_class_entry *class_entry_RuntimeException)
15 {
16 	zend_class_entry ce, *class_entry;
17 
18 	INIT_CLASS_ENTRY(ce, "PDOException", NULL);
19 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_RuntimeException, 0);
20 
21 	zval property_code_default_value;
22 	ZVAL_LONG(&property_code_default_value, 0);
23 	zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_CODE), &property_code_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_NONE(0));
24 
25 	zval property_errorInfo_default_value;
26 	ZVAL_NULL(&property_errorInfo_default_value);
27 	zend_string *property_errorInfo_name = zend_string_init("errorInfo", sizeof("errorInfo") - 1, 1);
28 	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));
29 	zend_string_release(property_errorInfo_name);
30 
31 	return class_entry;
32 }
33