/php-src/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_driver_interface.phpt | 8 $driver = new mysqli_driver(); 11 var_dump(get_parent_class($driver)); 50 printf("driver->client_info = '%s'\n", $driver->client_info); 53 printf("driver->client_version = '%s'\n", $driver->client_version); 55 printf("driver->driver_version = '%s'\n", $driver->driver_version); 68 printf("driver->report_mode = '%s'\n", $driver->report_mode); 73 printf("driver->unknown = '%s'\n", @$driver->unknown); 94 driver->client_info = '%s' 95 driver->client_version = '%d' 99 driver->report_mode = '%d' [all …]
|
H A D | mysqli_driver.phpt | 13 $driver = new mysqli_driver(); 16 if (($tmp = $driver->client_info) !== $client_info) { 23 if (($tmp = $driver->client_version) !== $client_version) { 39 $report_mode = $driver->report_mode; 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_driver_unclonable.phpt | 7 $driver = new mysqli_driver; 8 $driver_clone = clone $driver;
|
H A D | connect.inc | 9 $driver = new mysqli_driver; 10 $driver->report_mode = MYSQLI_REPORT_OFF; 69 $driver = new mysqli_driver; 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/pdo/ |
H A D | pdo.c | 113 PDO_API zend_result php_pdo_register_driver(const pdo_driver_t *driver) /* {{{ */ in ZEND_GET_MODULE() 115 if (driver->api_version != PDO_DRIVER_API) { in ZEND_GET_MODULE() 117 driver->driver_name, driver->api_version, PDO_DRIVER_API); in ZEND_GET_MODULE() 125 …return zend_hash_str_add_ptr(&pdo_driver_hash, driver->driver_name, driver->driver_name_len, (void… in ZEND_GET_MODULE() 129 PDO_API void php_pdo_unregister_driver(const pdo_driver_t *driver) /* {{{ */ in php_pdo_unregister_driver() argument 135 zend_hash_str_del(&pdo_driver_specific_ce_hash, driver->driver_name, driver->driver_name_len); in php_pdo_unregister_driver() 136 zend_hash_str_del(&pdo_driver_hash, driver->driver_name, driver->driver_name_len); in php_pdo_unregister_driver() 140 PDO_API zend_result php_pdo_register_driver_specific_ce(const pdo_driver_t *driver, zend_class_entr… in php_pdo_register_driver_specific_ce() argument 147 return zend_hash_str_add_ptr(&pdo_driver_specific_ce_hash, driver->driver_name, in php_pdo_register_driver_specific_ce() 148 driver->driver_name_len, (void*)ce) != NULL ? SUCCESS : FAILURE; in php_pdo_register_driver_specific_ce()
|
/php-src/ext/mysqli/tests/mysqli_driver/ |
H A D | write_property.phpt | 8 $driver = new mysqli_driver; 11 $driver->client_info = 'test'; 16 $driver->report_mode = "1"; 17 var_dump($driver->report_mode); 19 $driver->report_mode = [];
|
H A D | write_property_strict.phpt | 10 $driver = new mysqli_driver; 13 $driver->client_info = 42; 19 $driver->report_mode = "1";
|
/php-src/ext/pdo/tests/ |
H A D | bug_43130.phpt | 8 if (false == $dir) die('skip no driver'); 9 …cmp(getenv('PDOTEST_DSN'), 'sqlite', strlen('sqlite'))) die('skip not relevant for sqlite driver'); 10 …asecmp(getenv('PDOTEST_DSN'), 'pgsql', strlen('pgsql'))) die('skip not relevant for pgsql driver'); 11 …nv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for oci driver - Hyphen is not le… 12 …tenv('PDOTEST_DSN'), 'firebird', strlen('firebird'))) die('skip not relevant for firebird driver'); 13 …rncasecmp(getenv('PDOTEST_DSN'), 'odbc', strlen('odbc'))) die('skip not relevant for odbc driver');
|
H A D | pdo_dsn_containing_credentials.phpt | 8 if (false == $dir) die('skip no driver'); 10 $driver = substr(getenv('PDOTEST_DSN'), 0, strpos(getenv('PDOTEST_DSN'), ':')); 11 if (!in_array($driver, array('mssql','sybase','dblib','firebird','mysql','oci')))
|
H A D | pdo_quote_empty_string.phpt | 8 if (false == $dir) die('skip no driver'); 26 // Do nothing as quoting is not supported with this driver
|
H A D | bug_71885.phpt | 8 if (false == $dir) die('skip no driver'); 9 …asecmp(getenv('PDOTEST_DSN'), 'pgsql', strlen('pgsql'))) die('skip not relevant for pgsql driver'); 10 …!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for OCI driver');
|
H A D | bug_73234.phpt | 8 if (false == $dir) die('skip no driver'); 9 if (str_starts_with(getenv('PDOTEST_DSN'), "firebird")) die('xfail firebird driver does not behave … 15 die("xfail PDO::PARAM_NULL is not honored by OCI driver, related with bug #81586");
|
H A D | bug_79106.phpt | 8 if (!$dir) die('skip no driver'); 16 die('skip driver does not support quoted numeric identifiers');
|
H A D | bug_79106_collision.phpt | 8 if (!$dir) die('skip no driver'); 16 die('skip driver does not support quoted numeric identifiers');
|
H A D | bug_44861.phpt | 8 if (false == $dir) die('skip no driver'); 11 foreach ($allowed as $driver) { 12 if (!strncasecmp(getenv('PDOTEST_DSN'), $driver, strlen($driver))) {
|
H A D | bug_34630.phpt | 8 if (false == $dir) die('skip no driver'); 18 $driver = $db->getAttribute(PDO::ATTR_DRIVER_NAME); 19 $is_oci = $driver == 'oci';
|
/php-src/ext/pdo_odbc/ |
H A D | config.m4 | 2 The 'flavour' part determines what driver or driver manager to use; it can be 6 an otherwise unsupported driver using the 'generic' flavour. The syntax for 12 driver at that path.]]) 17 [PDO: Support for 'flavour' ODBC driver.]PDO_ODBC_HELP_TEXT)]) 90 libraries as a driver in that environment; it will emulate the 126 [Define to the ODBC driver or driver manager value.])
|
H A D | CREDITS | 1 ODBC driver for PDO
|
/php-src/ext/pdo_odbc/tests/ |
H A D | get_attribute_server.phpt | 14 // Obviously, we can't assume what driver is being used, so just check strings 15 // Example driver output (MariaDB ODBC):
|
/php-src/ext/pdo_sqlite/tests/subclasses/ |
H A D | gh_16131.phpt | 27 Pdo\Pgsql::__construct() cannot be used for connecting to the "sqlite" driver, either call Pdo\Sqli… 28 MyPgsql::__construct() cannot be used for connecting to the "sqlite" driver, either call Pdo\Sqlite…
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug_44707.phpt | 2 Bug #44707 (The MySQL PDO driver resets variable content after bindParam on tinyint field) 46 // This is beyond the control of the driver... - the driver never gets in touch with bound values
|
/php-src/ext/pdo_firebird/ |
H A D | CREDITS | 1 Firebird driver for PDO
|
/php-src/ext/pdo_sqlite/ |
H A D | CREDITS | 1 SQLite 3.x driver for PDO
|
/php-src/ext/pdo_pgsql/ |
H A D | CREDITS | 1 PostgreSQL driver for PDO
|
/php-src/ext/pdo_mysql/ |
H A D | CREDITS | 1 MySQL driver for PDO
|