@@ -225,9 +225,13 @@ PHP_METHOD(SEASCLICK_RES_NAME, __construct)
225225 return ;
226226 }
227227#else
228+ #undef IS_UNDEF
229+ #define IS_UNDEF Z_EXPECTED_LONG
228230 ZEND_PARSE_PARAMETERS_START (1 , 1 )
229231 Z_PARAM_ARRAY (connectParames)
230232 ZEND_PARSE_PARAMETERS_END ();
233+ #undef IS_UNDEF
234+ #define IS_UNDEF 0
231235#endif
232236
233237 HashTable *_ht = Z_ARRVAL_P (connectParames);
@@ -338,11 +342,15 @@ PHP_METHOD(SEASCLICK_RES_NAME, select)
338342 return ;
339343 }
340344#else
345+ #undef IS_UNDEF
346+ #define IS_UNDEF Z_EXPECTED_LONG
341347 ZEND_PARSE_PARAMETERS_START (1 , 2 )
342348 Z_PARAM_STRING (sql, l_sql)
343349 Z_PARAM_OPTIONAL
344350 Z_PARAM_ARRAY (params)
345351 ZEND_PARSE_PARAMETERS_END ();
352+ #undef IS_UNDEF
353+ #define IS_UNDEF 0
346354#endif
347355 try {
348356 string sql_s = (string)sql;
@@ -404,11 +412,15 @@ PHP_METHOD(SEASCLICK_RES_NAME, insert)
404412 return ;
405413 }
406414#else
415+ #undef IS_UNDEF
416+ #define IS_UNDEF Z_EXPECTED_LONG
407417 ZEND_PARSE_PARAMETERS_START (3 , 3 )
408418 Z_PARAM_STRING (table, l_table)
409419 Z_PARAM_ARRAY (columns)
410420 Z_PARAM_ARRAY (values)
411421 ZEND_PARSE_PARAMETERS_END ();
422+ #undef IS_UNDEF
423+ #define IS_UNDEF 0
412424#endif
413425
414426 try {
@@ -489,11 +501,15 @@ PHP_METHOD(SEASCLICK_RES_NAME, execute)
489501 return ;
490502 }
491503#else
504+ #undef IS_UNDEF
505+ #define IS_UNDEF Z_EXPECTED_LONG
492506 ZEND_PARSE_PARAMETERS_START (1 , 2 )
493507 Z_PARAM_STRING (sql, l_sql)
494508 Z_PARAM_OPTIONAL
495509 Z_PARAM_ARRAY (params)
496510 ZEND_PARSE_PARAMETERS_END ();
511+ #undef IS_UNDEF
512+ #define IS_UNDEF 0
497513#endif
498514
499515 try {
0 commit comments