Home
last modified time | relevance | path

Searched refs:last_id (Results 1 – 6 of 6) sorted by relevance

/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_insert_id.phpt37 if (($last_id = mysqli_insert_id($link)) <= 0)
38 printf("[010] Expecting int/any >0, got %s/%s\n", gettype($last_id), $last_id);
63 if (($next_id = mysqli_insert_id($link)) <= $last_id)
68 … printf("[014] Expecting int/any > %d, got %s/%s\n", $last_id, gettype($next_id), $next_id);
70 $last_id = $next_id;
80 if (($next_id = mysqli_insert_id($link)) != $last_id + $inc) {
81 … printf("[016] Expecting int/%d, got %s/%s\n", $last_id + 1, gettype($next_id), $next_id);
85 if (!$res = mysqli_query($link, "SELECT LAST_INSERT_ID() AS last_id")) {
95 if ($next_id != $row['last_id']) {
97 $next_id, $row['last_id']);
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_last_insert_id.phpt63 $last_id = $row['_last_id'];
64 if ($next_id != $last_id) {
66 $last_id, $next_id);
71 if ($next_id <= $last_id)
72 printf("[011] Expecting at least %d, got %d\n", $last_id + 1, $next_id);
91 $last_id = $row['_last_id'];
95 if ($next_id < ($last_id + $inc))
96 printf("[012] Expecting at least %d, got %d\n", $last_id + $inc, $next_id);
/PHP-8.2/ext/zip/
H A Dphp_zip.h73 zip_int64_t last_id; member
H A Dphp_zip.c332 obj->last_id = zip_file_add(obj->za, entry_name, zs, flags); in php_zip_add_file()
333 if (obj->last_id < 0) { in php_zip_add_file()
530 return obj->last_id; in php_zip_last_id()
1094 intern->last_id = -1; in php_zip_object_new()
1712 if ((Z_ZIP_P(self)->last_id = zip_dir_add(intern, (const char *)s, flags)) == -1) {
1819 if (zip_set_file_compression(ze_obj->za, ze_obj->last_id, opts.comp_method, opts.comp_flags)) {
1826 if (zip_file_set_encryption(ze_obj->za, ze_obj->last_id, opts.enc_method, opts.enc_password)) {
1957 ze_obj->last_id = zip_file_add(intern, name, zs, flags);
1958 if (ze_obj->last_id == -1) {
/PHP-8.2/ext/pdo/
H A Dpdo_dbh.c1056 zend_string *last_id = NULL; in PHP_METHOD() local
1067 if (!dbh->methods->last_id) { in PHP_METHOD()
1071 last_id = dbh->methods->last_id(dbh, name); in PHP_METHOD()
1072 if (!last_id) { in PHP_METHOD()
1076 RETURN_STR(last_id); in PHP_METHOD()
H A Dphp_pdo_driver.h301 pdo_dbh_last_id_func last_id; member

Completed in 44 milliseconds