Home
last modified time | relevance | path

Searched refs:report_mode (Results 1 – 14 of 14) sorted by relevance

/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_driver.phpt39 $report_mode = $driver->report_mode;
40 if (!is_int($report_mode)) {
42 gettype($report_mode), $report_mode);
45 if (!in_array($report_mode, $all_modes)) {
47 $report_mode, implode(', ', $all_modes));
50 $driver->report_mode = MYSQLI_REPORT_STRICT;
86 $driver->report_mode = MYSQLI_REPORT_OFF;
93 $driver->report_mode = MYSQLI_REPORT_ERROR;
101 if (MYSQLI_REPORT_ERROR !== $driver->report_mode) {
107 $driver->report_mode = $report_mode;
H A Dwrite_property.phpt16 $driver->report_mode = "1";
17 var_dump($driver->report_mode);
19 $driver->report_mode = [];
28 Cannot assign array to property mysqli_driver::$report_mode of type int
H A Dmysqli_class_mysqli_driver_interface.phpt57 assert(in_array($driver->report_mode, [
68 printf("driver->report_mode = '%s'\n", $driver->report_mode);
69 $driver->report_mode = MYSQLI_REPORT_STRICT;
70 assert($driver->report_mode === MYSQLI_REPORT_STRICT);
88 report_mode
91 report_mode
99 driver->report_mode = '%d'
H A Dwrite_property_strict.phpt19 $driver->report_mode = "1";
27 Cannot assign string to property mysqli_driver::$report_mode of type int
H A Dconnect.inc10 $driver->report_mode = MYSQLI_REPORT_OFF;
/PHP-8.2/ext/mysqli/
H A Dmysqli_driver.c33 ZVAL_LONG(retval, MyG(report_mode)); in driver_report_read()
42 MyG(report_mode) = Z_LVAL_P(value); in driver_report_write()
H A Dmysqli_priv.h111 if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_errno(mysql)) { \
116 if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_stmt_errno(stmt)) { \
H A Dmysqli_report.c38 MyG(report_mode) = flags; in PHP_FUNCTION()
H A Dmysqli_exception.c40 if (!(MyG(report_mode) & MYSQLI_REPORT_STRICT)) { in php_mysqli_throw_sql_exception()
H A Dmysqli_api.c473 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
534 if (query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) { in PHP_FUNCTION()
585 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
599 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
1330 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) { in PHP_FUNCTION()
1378 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
1969 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
2024 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
H A Dmysqli.c466 mysqli_globals->report_mode = MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT;; in PHP_INI_END()
564 MyG(report_mode) = MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT; in PHP_RINIT_FUNCTION()
707 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_METHOD()
734 if (MyG(report_mode) & MYSQLI_REPORT_ERROR && result->conn) { in php_mysqli_fetch_into_hash_aux()
H A Dphp_mysqli_structs.h254 zend_long report_mode; variable
H A Dmysqli_nonapi.c608 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
627 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
840 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
860 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
H A Dmysqli.stub.php630 public int $report_mode = 0; variable in mysqli_driver

Completed in 46 milliseconds