Home
last modified time | relevance | path

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

/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_driver.phpt41 $report_mode = $driver->report_mode;
42 if (!is_int($report_mode)) {
44 gettype($report_mode), $report_mode);
47 if (!in_array($report_mode, $all_modes)) {
49 $report_mode, implode(', ', $all_modes));
52 $driver->report_mode = MYSQLI_REPORT_STRICT;
88 $driver->report_mode = MYSQLI_REPORT_OFF;
95 $driver->report_mode = MYSQLI_REPORT_ERROR;
103 if (MYSQLI_REPORT_ERROR !== $driver->report_mode) {
109 $driver->report_mode = $report_mode;
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);
91 report_mode
95 report_mode
103 driver->report_mode = '%d'
H A Dwrite_property.phpt28 $driver->report_mode = "1";
29 var_dump($driver->report_mode);
31 $driver->report_mode = [];
43 Cannot assign array to property mysqli_driver::$report_mode of type int
H A Dwrite_property_strict.phpt25 $driver->report_mode = "1";
34 Cannot assign string to property mysqli_driver::$report_mode of type int
H A Dconnect.inc10 $driver->report_mode = MYSQLI_REPORT_OFF;
/PHP-8.1/ext/mysqli/
H A Dmysqli_driver.c50 ZVAL_LONG(retval, MyG(report_mode)); in driver_report_read()
59 MyG(report_mode) = Z_LVAL_P(value); in driver_report_write()
H A Dmysqli_priv.h121 if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_errno(mysql)) { \
126 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 Dphp_mysqli_structs.h273 zend_long report_mode; variable
H A Dmysqli_nonapi.c728 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
751 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
965 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
985 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
H A Dmysqli.c519 mysqli_globals->report_mode = MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT;; in PHP_INI_END()
830 MyG(report_mode) = MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT; in PHP_RINIT_FUNCTION()
1095 if (MyG(report_mode) & MYSQLI_REPORT_ERROR) { in php_mysqli_fetch_into_hash_aux()
H A Dmysqli_api.c926 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
1869 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) {
1922 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
2565 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
2620 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
H A Dmysqli.stub.php18 public int $report_mode = 0; variable in mysqli_driver

Completed in 33 milliseconds