File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ zend_class_entry *mysqli_warning_class_entry;
71
71
zend_class_entry * mysqli_exception_class_entry ;
72
72
73
73
74
- typedef int (* mysqli_read_t )(mysqli_object * obj , zval * rv , bool quiet );
75
- typedef int (* mysqli_write_t )(mysqli_object * obj , zval * newval );
74
+ typedef zend_result (* mysqli_read_t )(mysqli_object * obj , zval * rv , bool quiet );
75
+ typedef zend_result (* mysqli_write_t )(mysqli_object * obj , zval * newval );
76
76
77
77
typedef struct _mysqli_prop_handler {
78
78
zend_string * name ;
@@ -227,7 +227,7 @@ static void mysqli_warning_free_storage(zend_object *object)
227
227
/* }}} */
228
228
229
229
/* {{{ mysqli_read_na */
230
- static int mysqli_read_na (mysqli_object * obj , zval * retval , bool quiet )
230
+ static zend_result mysqli_read_na (mysqli_object * obj , zval * retval , bool quiet )
231
231
{
232
232
if (!quiet ) {
233
233
zend_throw_error (NULL , "Cannot read property" );
Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ PHP_FUNCTION(mysqli_query)
635
635
636
636
#include "php_network.h"
637
637
/* {{{ mysqlnd_zval_array_to_mysqlnd_array functions */
638
- static int mysqlnd_zval_array_to_mysqlnd_array (zval * in_array , MYSQLND * * * out_array )
638
+ static zend_result mysqlnd_zval_array_to_mysqlnd_array (zval * in_array , MYSQLND * * * out_array )
639
639
{
640
640
zval * elem ;
641
641
int i = 0 , current = 0 ;
You can’t perform that action at this time.
0 commit comments