Lines Matching refs:stmt
14 $stmt = new mysqli_stmt($link);
17 var_dump(get_parent_class($stmt));
21 $methods = get_class_methods($stmt);
71 $variables = array_keys(get_class_vars(get_class($stmt)));
77 $variables = array_keys(get_object_vars($stmt));
84 mysqli_stmt_affected_rows($stmt);
90 $stmt->affected_rows;
95 if (!$stmt->prepare("INSERT INTO test(id, label) VALUES (100, 'z')") || !$stmt->execute()) {
96 printf("[001] [%d] %s\n", $stmt->errno, $stmt->error);
99 assert(mysqli_stmt_affected_rows($stmt) === $stmt->affected_rows);
100 printf("stmt->affected_rows = '%s'\n", $stmt->affected_rows);
102 assert(mysqli_stmt_errno($stmt) === $stmt->errno);
103 printf("stmt->errno = '%s'\n", $stmt->errno);
105 assert(mysqli_stmt_error($stmt) === $stmt->error);
106 printf("stmt->error = '%s'\n", $stmt->error);
108 assert(mysqli_stmt_error_list($stmt) === $stmt->error_list);
109 var_dump("stmt->error = ", $stmt->error_list);
111 assert(mysqli_stmt_field_count($stmt) === $stmt->field_count);
112 printf("stmt->field_count = '%s'\n", $stmt->field_count);
114 assert($stmt->id > 0);
115 printf("stmt->id = '%s'\n", $stmt->id);
117 assert(mysqli_stmt_insert_id($stmt) === $stmt->insert_id);
118 printf("stmt->insert_id = '%s'\n", $stmt->insert_id);
120 assert(mysqli_stmt_num_rows($stmt) === $stmt->num_rows);
121 printf("stmt->num_rows = '%s'\n", $stmt->num_rows);
123 assert(mysqli_stmt_param_count($stmt) === $stmt->param_count);
124 printf("stmt->param_count = '%s'\n", $stmt->param_count);
126 assert(mysqli_stmt_sqlstate($stmt) === $stmt->sqlstate);
127 printf("stmt->sqlstate = '%s'\n", $stmt->sqlstate);
130 printf("stmt->unknown = '%s'\n", @$stmt->unknown);
131 @$stmt->unknown = 13;
132 printf("stmt->unknown = '%s'\n", @$stmt->unknown);
170 stmt->affected_rows = '1'
171 stmt->errno = '0'
172 stmt->error = ''
173 string(14) "stmt->error = "
176 stmt->field_count = '0'
177 stmt->id = '%d'
178 stmt->insert_id = '0'
179 stmt->num_rows = '0'
180 stmt->param_count = '0'
181 stmt->sqlstate = '00000'
184 stmt->unknown = ''
185 stmt->unknown = '13'