@@ -7,6 +7,8 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDO___construct, 0, 0, 1)
7
7
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE (0 , options , IS_ARRAY , 1 , "null" )
8
8
ZEND_END_ARG_INFO ()
9
9
10
+ #define arginfo_class_PDO_dbh_constructor arginfo_class_PDO___construct
11
+
10
12
ZEND_BEGIN_ARG_INFO_EX (arginfo_class_PDO_beginTransaction , 0 , 0 , 0 )
11
13
ZEND_END_ARG_INFO ()
12
14
@@ -52,7 +54,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDO_setAttribute, 0, 0, 2)
52
54
ZEND_END_ARG_INFO ()
53
55
54
56
55
- ZEND_FUNCTION ( dbh_constructor );
57
+ ZEND_METHOD ( PDO , dbh_constructor );
56
58
ZEND_METHOD (PDO , beginTransaction );
57
59
ZEND_METHOD (PDO , commit );
58
60
ZEND_METHOD (PDO , errorCode );
@@ -70,7 +72,8 @@ ZEND_METHOD(PDO, setAttribute);
70
72
71
73
72
74
static const zend_function_entry class_PDO_methods [] = {
73
- ZEND_ME_MAPPING (__construct , dbh_constructor , arginfo_class_PDO___construct , ZEND_ACC_PUBLIC )
75
+ ZEND_MALIAS (PDO , PDO ::__construct , dbh_constructor , arginfo_class_PDO___construct , ZEND_ACC_PUBLIC )
76
+ ZEND_ME (PDO , dbh_constructor , arginfo_class_PDO_dbh_constructor , ZEND_ACC_PRIVATE |ZEND_ACC_FINAL )
74
77
ZEND_ME (PDO , beginTransaction , arginfo_class_PDO_beginTransaction , ZEND_ACC_PUBLIC )
75
78
ZEND_ME (PDO , commit , arginfo_class_PDO_commit , ZEND_ACC_PUBLIC )
76
79
ZEND_ME (PDO , errorCode , arginfo_class_PDO_errorCode , ZEND_ACC_PUBLIC )
0 commit comments