Searched refs:report_mode (Results 1 – 15 of 15) sorted by relevance
/php-src/ext/mysqli/tests/ |
H A D | mysqli_driver.phpt | 39 $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 D | mysqli_class_mysqli_driver_interface.phpt | 57 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 D | connect.inc | 10 $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 D | write_property.phpt | 16 $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 D | write_property_strict.phpt | 19 $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 D | test_helpers.inc | 80 …// 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 D | mysqli_driver.c | 31 ZVAL_LONG(retval, MyG(report_mode)); in driver_report_read() 40 MyG(report_mode) = Z_LVAL_P(value); in driver_report_write()
|
H A D | mysqli_priv.h | 111 if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_errno(mysql)) { \ 116 if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_stmt_errno(stmt)) { \
|
H A D | mysqli_report.c | 36 MyG(report_mode) = flags; in PHP_FUNCTION()
|
H A D | mysqli_exception.c | 38 if (!(MyG(report_mode) & MYSQLI_REPORT_STRICT)) { in php_mysqli_throw_sql_exception()
|
H A D | mysqli.c | 465 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 D | mysqli_api.c | 460 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 D | php_mysqli_structs.h | 254 zend_long report_mode; variable
|
H A D | mysqli_nonapi.c | 606 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 D | mysqli.stub.php | 609 public int $report_mode = 0; variable in mysqli_driver
|
Completed in 45 milliseconds