Lines Matching refs:stmt

15     $stmt = new mysqli_stmt($link);
18 var_dump(get_parent_class($stmt));
22 $methods = get_class_methods($stmt);
70 $variables = array_keys(get_class_vars(get_class($stmt)));
76 $variables = array_keys(get_object_vars($stmt));
83 mysqli_stmt_affected_rows($stmt);
89 $stmt->affected_rows;
94 if (!$stmt->prepare("INSERT INTO test(id, label) VALUES (100, 'z')") || !$stmt->execute()) {
95 printf("[001] [%d] %s\n", $stmt->errno, $stmt->error);
98 assert(mysqli_stmt_affected_rows($stmt) === $stmt->affected_rows);
99 printf("stmt->affected_rows = '%s'\n", $stmt->affected_rows);
101 assert(mysqli_stmt_errno($stmt) === $stmt->errno);
102 printf("stmt->errno = '%s'\n", $stmt->errno);
104 assert(mysqli_stmt_error($stmt) === $stmt->error);
105 printf("stmt->error = '%s'\n", $stmt->error);
107 assert(mysqli_stmt_error_list($stmt) === $stmt->error_list);
108 var_dump("stmt->error = ", $stmt->error_list);
110 assert(mysqli_stmt_field_count($stmt) === $stmt->field_count);
111 printf("stmt->field_count = '%s'\n", $stmt->field_count);
113 assert($stmt->id > 0);
114 printf("stmt->id = '%s'\n", $stmt->id);
116 assert(mysqli_stmt_insert_id($stmt) === $stmt->insert_id);
117 printf("stmt->insert_id = '%s'\n", $stmt->insert_id);
119 assert(mysqli_stmt_num_rows($stmt) === $stmt->num_rows);
120 printf("stmt->num_rows = '%s'\n", $stmt->num_rows);
122 assert(mysqli_stmt_param_count($stmt) === $stmt->param_count);
123 printf("stmt->param_count = '%s'\n", $stmt->param_count);
125 assert(mysqli_stmt_sqlstate($stmt) === $stmt->sqlstate);
126 printf("stmt->sqlstate = '%s'\n", $stmt->sqlstate);
129 printf("stmt->unknown = '%s'\n", @$stmt->unknown);
130 @$stmt->unknown = 13;
131 printf("stmt->unknown = '%s'\n", @$stmt->unknown);
159 stmt->affected_rows = '1'
160 stmt->errno = '0'
161 stmt->error = ''
162 string(14) "stmt->error = "
165 stmt->field_count = '0'
166 stmt->id = '%d'
167 stmt->insert_id = '0'
168 stmt->num_rows = '0'
169 stmt->param_count = '0'
170 stmt->sqlstate = '00000'
173 stmt->unknown = ''
174 stmt->unknown = '13'