Home
last modified time | relevance | path

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

/php-src/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 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 Dconnect.inc10 $driver->report_mode = MYSQLI_REPORT_OFF;
66 …// Because the tests are meant to test both error modes, they can set the report_mode to a differe…
68 …// the constuctor will throw an exception. We store current report_mode in variable and restore it…
70 $report_mode = $driver->report_mode;
71 $driver->report_mode = MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT;
81 $driver->report_mode = $report_mode;
/php-src/ext/mysqli/tests/mysqli_driver/
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 Dwrite_property_strict.phpt19 $driver->report_mode = "1";
27 Cannot assign string to property mysqli_driver::$report_mode of type int
/php-src/ext/mysqli/tests/test_setup/
H A Dtest_helpers.inc80 …// Because the tests are meant to test both error modes, they can set the report_mode to a differe…
82 …// the constuctor will throw an exception. We store current report_mode in variable and restore it…
84 $report_mode = $driver->report_mode;
85 $driver->report_mode = MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT;
97 $driver->report_mode = $report_mode;
/php-src/ext/mysqli/
H A Dmysqli_driver.c31 ZVAL_LONG(retval, MyG(report_mode)); in driver_report_read()
40 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.c36 MyG(report_mode) = flags; in PHP_FUNCTION()
H A Dmysqli_exception.c38 if (!(MyG(report_mode) & MYSQLI_REPORT_STRICT)) { in php_mysqli_throw_sql_exception()
H A Dmysqli.c465 mysqli_globals->report_mode = MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT;; in PHP_INI_END()
563 MyG(report_mode) = MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT; in PHP_RINIT_FUNCTION()
706 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_METHOD()
733 if (MyG(report_mode) & MYSQLI_REPORT_ERROR && result->conn) { in php_mysqli_fetch_into_hash_aux()
H A Dmysqli_api.c460 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
521 if (query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) { in PHP_FUNCTION()
572 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
586 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
1292 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) { in PHP_FUNCTION()
1340 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
1927 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
1982 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { in PHP_FUNCTION()
H A Dphp_mysqli_structs.h254 zend_long report_mode; variable
H A Dmysqli_nonapi.c606 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
625 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
829 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
849 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
H A Dmysqli.stub.php609 public int $report_mode = 0; variable in mysqli_driver

Completed in 33 milliseconds