Searched refs:last_id (Results 1 – 6 of 6) sorted by relevance
/PHP-8.3/ext/mysqli/tests/ |
H A D | mysqli_insert_id.phpt | 37 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.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_last_insert_id.phpt | 65 $last_id = $row['_last_id']; 66 if ($next_id != $last_id) { 68 $last_id, $next_id); 73 if ($next_id <= $last_id) 74 printf("[011] Expecting at least %d, got %d\n", $last_id + 1, $next_id); 93 $last_id = $row['_last_id']; 97 if ($next_id < ($last_id + $inc)) 98 printf("[012] Expecting at least %d, got %d\n", $last_id + $inc, $next_id);
|
/PHP-8.3/ext/zip/ |
H A D | php_zip.h | 73 zip_int64_t last_id; member
|
H A D | php_zip.c | 332 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.3/ext/pdo/ |
H A D | pdo_dbh.c | 999 zend_string *last_id = NULL; in PHP_METHOD() local 1010 if (!dbh->methods->last_id) { in PHP_METHOD() 1014 last_id = dbh->methods->last_id(dbh, name); in PHP_METHOD() 1015 if (!last_id) { in PHP_METHOD() 1019 RETURN_STR(last_id); in PHP_METHOD()
|
H A D | php_pdo_driver.h | 301 pdo_dbh_last_id_func last_id; member
|
Completed in 20 milliseconds