Home
last modified time | relevance | path

Searched refs:getAttribute (Results 1 – 25 of 134) sorted by relevance

123456

/PHP-8.2/ext/dom/tests/
H A Dbug38474.phpt2 Bug #38474 (getAttribute select attribute by order, even when prefixed) (OK to fail with libxml2 < …
18 echo $dom->firstChild->getAttribute('type')."\n";
19 echo $dom->firstChild->getAttribute('pre:type')."\n";
26 echo $dom->firstChild->getAttribute('type')."\n";
27 echo $dom->firstChild->getAttribute('pre:type')."\n";
28 echo $dom->firstChild->getAttribute('post:type')."\n";
33 echo $dom->firstChild->getAttribute('type')."\n";
34 echo $dom->firstChild->getAttribute('pre:type')."\n";
35 echo $dom->firstChild->getAttribute('post:type')."\n";
36 echo $dom->firstChild->getAttribute('new:type');
H A Dbug38949.phpt13 echo $root->getAttribute("xmlns")."\n";
14 echo $root->getAttribute("xmlns:ns2")."\n";
17 echo $child->getAttribute("xmlns")."\n";
18 echo $child->getAttribute("xmlns:ns2")."\n";
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct_options_libmysql.phpt24 … if (!is_object($db) || (!$ignore_diff && ($value !== ($tmp = @$db->getAttribute($option)))))
31 echo "Failed to getAttribute() for $option_desc\n";
46 /* TODO getAttribute() does not handle it */
54 $tmp = $db->getAttribute($option);
56 …printf("[001] Expecting default value for '%s' of '%s'/%s, getAttribute() reports setting '%s'/%s\…
60 echo "Failed to getAttribute() for $name\n";
74 Failed to getAttribute() for PDO::MYSQL_ATTR_INIT_COMMAND
75 Failed to getAttribute() for PDO::MYSQL_ATTR_READ_DEFAULT_FILE
76 Failed to getAttribute() for PDO::MYSQL_ATTR_READ_DEFAULT_GROUP
77 Failed to getAttribute() for PDO::MYSQL_ATTR_READ_DEFAULT_FILE
[all …]
H A Dpdo_mysql___construct_options.phpt65 /* TODO getAttribute() does not handle it */
67 /* TODO getAttribute() does not handle it */
89 $tmp = @$db->getAttribute($option);
118 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
120 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
127 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
129 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
136 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
138 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
142 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
[all …]
H A Dpdo_mysql_attr_case.phpt18 $default = $db->getAttribute(PDO::ATTR_CASE);
25 printf("[001] getAttribute(PDO::ATTR_CASE) returns unknown value '%s'\n",
41 if (($tmp = $db->getAttribute(PDO::ATTR_CASE)) !== PDO::CASE_LOWER)
42 printf("[004] getAttribute(PDO::ATTR_CASE) returns wrong value '%s'\n",
63 if (($tmp = $db->getAttribute(PDO::ATTR_CASE)) !== PDO::CASE_UPPER)
64 printf("[009] getAttribute(PDO::ATTR_CASE) returns wrong value '%s'\n",
77 if (($tmp = $db->getAttribute(PDO::ATTR_CASE)) !== PDO::CASE_NATURAL)
78 printf("[012] getAttribute(PDO::ATTR_CASE) returns wrong value '%s'\n",
H A Dpdo_mysql_attr_prefetch.phpt15 var_dump($db->getAttribute(PDO::ATTR_PREFETCH));
20 Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does n…
H A Dpdo_mysql_local_infile_default_off.phpt23 echo var_export($db->getAttribute(PDO::MYSQL_ATTR_LOCAL_INFILE)), "\n";
24 echo var_export($db->getAttribute(PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY)), "\n";
H A Dpdo_mysql_attr_driver_name.phpt18 $name = $db->getAttribute(PDO::ATTR_DRIVER_NAME);
24 $new_name = $db->getAttribute(PDO::ATTR_DRIVER_NAME);
H A Dpdo_mysql_attr_connection_status.phpt16 $status = $db->getAttribute(PDO::ATTR_CONNECTION_STATUS);
26 $status2 = $db->getAttribute(PDO::ATTR_CONNECTION_STATUS);
/PHP-8.2/ext/xmlreader/tests/
H A D012.phpt16 var_dump($reader->getAttribute('bar'));
17 var_dump($reader->getAttribute('baz'));
34 var_dump($reader->getAttribute('bar'));
35 var_dump($reader->getAttribute('baz'));
49 var_dump($reader->getAttribute('bar'));
50 var_dump($reader->getAttribute('baz'));
57 var_dump($reader->getAttribute('bar'));
58 var_dump($reader->getAttribute('baz'));
H A D003-mb.phpt26 if ($reader->getAttribute($reader->name) == $reader->value) {
35 if ($reader->getAttribute($reader->name) == $reader->value) {
44 if ($reader->getAttribute('num') == $reader->value) {
52 if ($reader->getAttribute('idx') == $reader->value) {
H A D003.phpt26 if ($reader->getAttribute($reader->name) == $reader->value) {
35 if ($reader->getAttribute($reader->name) == $reader->value) {
44 if ($reader->getAttribute('num') == $reader->value) {
52 if ($reader->getAttribute('idx') == $reader->value) {
/PHP-8.2/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_get_attribute.phpt2 PDO_sqlite: Testing getAttribute()
9 var_dump($pdo->getAttribute(PDO::ATTR_SERVER_VERSION));
10 var_dump($pdo->getAttribute(PDO::ATTR_CLIENT_VERSION));
H A Dpdo_sqlite_statement_getattribute.phpt2 PDO_sqlite: Testing PDOStatement::getAttribute()
12 var_dump($st->getAttribute(PDO::SQLITE_ATTR_READONLY_STATEMENT));
16 var_dump($st->getAttribute(PDO::SQLITE_ATTR_READONLY_STATEMENT));
/PHP-8.2/ext/pdo_dblib/tests/
H A Ddatetime2.phpt8 if (in_array($db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION), ['4.2', '4.6', '5.0', '6.0', '7.0', '7…
16 var_dump($db->getAttribute(PDO::DBLIB_ATTR_DATETIME_CONVERT));
22 var_dump($db->getAttribute(PDO::DBLIB_ATTR_DATETIME_CONVERT));
H A Dbug_69592.phpt18 var_dump($db->getAttribute(PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS));
28 var_dump($db->getAttribute(PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS));
35 var_dump($db->getAttribute(PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS));
H A Ddatetime_convert.phpt15 var_dump($db->getAttribute(PDO::DBLIB_ATTR_DATETIME_CONVERT));
22 var_dump($db->getAttribute(PDO::DBLIB_ATTR_DATETIME_CONVERT));
H A Dpdo_dblib_quote.phpt21 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_CHAR);
23 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_NATL);
30 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_NATL);
H A Dstringify_uniqueidentifier.phpt8 if (in_array($db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION), ['4.2', '4.6'])) die('skip feature uns…
24 var_dump(true === $db->getAttribute(PDO::DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER));
26 var_dump(false === $db->getAttribute(PDO::DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER));
/PHP-8.2/ext/pdo_odbc/tests/
H A Dget_attribute_server.phpt2 PDO ODBC getAttribute SERVER_INFO and SERVER_VERSION
21 var_dump($db->getAttribute(PDO::ATTR_SERVER_INFO));
22 var_dump($db->getAttribute(PDO::ATTR_SERVER_VERSION));
H A Dautocommit_change_mode.phpt20 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT));
25 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT));
30 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT));
35 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT));
48 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT));
56 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT));
74 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT));
82 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT));
/PHP-8.2/ext/pdo_oci/tests/
H A Dpdo_oci_attr_prefetch_1.phpt22 echo $dbh->getAttribute(PDO::ATTR_PREFETCH), "\n";
33 echo $dbh->getAttribute(PDO::ATTR_PREFETCH), "\n";
44 echo $dbh->getAttribute(PDO::ATTR_PREFETCH), "\n";
55 echo $dbh->getAttribute(PDO::ATTR_PREFETCH), "\n";
H A Dpdo_oci_attr_server.phpt20 var_dump($dbh->getAttribute(PDO::ATTR_SERVER_VERSION));
24 $si = $dbh->getAttribute(PDO::ATTR_SERVER_INFO);
H A Dpdo_oci_attr_autocommit_1.phpt23 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT));
30 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT));
37 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT));
/PHP-8.2/ext/pdo/tests/
H A Dbug_43139.phpt22 if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'oci') {
24 } else if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'firebird') {

Completed in 30 milliseconds

123456