Searched refs:last_id (Results 1 – 6 of 6) sorted by relevance
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_insert_id.phpt | 38 if (($last_id = mysqli_insert_id($link)) <= 0) 39 printf("[010] Expecting int/any >0, got %s/%s\n", gettype($last_id), $last_id); 64 if (($next_id = mysqli_insert_id($link)) <= $last_id) 69 … printf("[014] Expecting int/any > %d, got %s/%s\n", $last_id, gettype($next_id), $next_id); 71 $last_id = $next_id; 81 if (($next_id = mysqli_insert_id($link)) != $last_id + $inc) { 82 … printf("[016] Expecting int/%d, got %s/%s\n", $last_id + 1, gettype($next_id), $next_id); 86 if (!$res = mysqli_query($link, "SELECT LAST_INSERT_ID() AS last_id")) { 96 if ($next_id != $row['last_id']) { 98 $next_id, $row['last_id']);
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_last_insert_id.phpt | 64 $last_id = $row['_last_id']; 65 if ($next_id != $last_id) { 67 $last_id, $next_id); 72 if ($next_id <= $last_id) 73 printf("[011] Expecting at least %d, got %d\n", $last_id + 1, $next_id); 92 $last_id = $row['_last_id']; 96 if ($next_id < ($last_id + $inc)) 97 printf("[012] Expecting at least %d, got %d\n", $last_id + $inc, $next_id);
|
/PHP-8.0/ext/zip/ |
H A D | php_zip.h | 59 zip_int64_t last_id; member
|
H A D | php_zip.c | 317 obj->last_id = zip_file_add(obj->za, entry_name, zs, flags); in php_zip_add_file() 318 if (obj->last_id < 0) { in php_zip_add_file() 520 return obj->last_id; in php_zip_last_id() 1074 intern->last_id = -1; in php_zip_object_new() 1672 if ((Z_ZIP_P(self)->last_id = zip_dir_add(intern, (const char *)s, flags)) == -1) { 1779 if (zip_set_file_compression(ze_obj->za, ze_obj->last_id, opts.comp_method, opts.comp_flags)) { 1786 if (zip_file_set_encryption(ze_obj->za, ze_obj->last_id, opts.enc_method, opts.enc_password)) { 1917 ze_obj->last_id = zip_file_add(intern, name, zs, flags); 1918 if (ze_obj->last_id == -1) {
|
/PHP-8.0/ext/pdo/ |
H A D | php_pdo_driver.h | 312 pdo_dbh_last_id_func last_id; member
|
H A D | pdo_dbh.c | 960 if (!dbh->methods->last_id) { in PHP_METHOD() 966 id = dbh->methods->last_id(dbh, name, &id_len); in PHP_METHOD()
|
Completed in 25 milliseconds