php-src/ext/mysqli
Niels Dossche 2b6c9b68bb
Fix GH-17900 and GH-8084
Calling the constructor twice has no real world benefit.
Block it to fix these two issues.
We also clean up the constructor code a bit:
- `in_ctor` implies `object` exist.
- We surround the instance check with ZEND_DEBUG to avoid a runtime
  penalty.

Closes GH-17900.
Closes GH-8084.
Closes GH-17908.
2025-02-24 19:25:08 +01:00
..
tests Fix GH-17900 and GH-8084 2025-02-24 19:25:08 +01:00
config.m4 Autotools: Remove redundant double quotes (#15634) 2024-08-29 15:17:03 +02:00
config.w32 Remove outdated code from mysqli Windows build (#14648) 2024-06-24 14:18:14 +02:00
CREDITS
mysqli.c ext/mysqli: Mark return type as zend_return (#15345) 2024-08-11 19:24:53 +01:00
mysqli.stub.php Remove ifdefs from stub file 2024-08-25 10:32:50 +02:00
mysqli_api.c Fix GH-17900 and GH-8084 2025-02-24 19:25:08 +01:00
mysqli_arginfo.h Generated arginfo header files: use known strings for prop names when… (#15751) 2024-09-30 13:22:34 +02:00
mysqli_driver.c ext/mysqli: Mark function pointer as returning zend_result (#15342) 2024-08-11 15:47:57 +01:00
mysqli_exception.c Trim trailing whitespace (#14721) 2024-06-29 18:41:45 +02:00
mysqli_mysqlnd.h Remove uses of TRUE/FALSE in mysqli/pdo_mysql 2021-05-26 15:07:23 +02:00
mysqli_nonapi.c Fix GH-17900 and GH-8084 2025-02-24 19:25:08 +01:00
mysqli_priv.h Remove MYSQLI_USE_MYSQLND constant and all the code with it 2022-05-30 15:28:08 +01:00
mysqli_prop.c ext/mysqli: Mark function pointer as returning zend_result (#15342) 2024-08-11 15:47:57 +01:00
mysqli_report.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
mysqli_result_iterator.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
mysqli_warning.c ext/mysqli: Remove PHP 6 remnants 2024-08-11 17:27:09 +02:00
php_mysqli.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_mysqli_structs.h ext/mysqli: Mark function pointer as returning zend_result (#15342) 2024-08-11 15:47:57 +01:00