Searched refs:getAttribute (Results 1 – 25 of 104) sorted by relevance
12345
/PHP-7.2/ext/dom/tests/ |
H A D | bug38474.phpt | 2 Bug #38474 (getAttribute select attribute by order, even when prefixed) (OK to fail with libxml2 < … 17 echo $dom->firstChild->getAttribute('type')."\n"; 18 echo $dom->firstChild->getAttribute('pre:type')."\n"; 25 echo $dom->firstChild->getAttribute('type')."\n"; 26 echo $dom->firstChild->getAttribute('pre:type')."\n"; 27 echo $dom->firstChild->getAttribute('post:type')."\n"; 32 echo $dom->firstChild->getAttribute('type')."\n"; 33 echo $dom->firstChild->getAttribute('pre:type')."\n"; 34 echo $dom->firstChild->getAttribute('post:type')."\n"; 35 echo $dom->firstChild->getAttribute('new:type');
|
H A D | bug38949.phpt | 13 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";
|
H A D | domelement.phpt | 21 echo "Chapter: ".$node->getAttribute('num')."\n"; 24 echo "Chapter: ".$node->getAttribute('num')."\n"; 27 echo "Language: ".$node->getAttribute('language')."\n"; 31 echo "Language: ".$node->getAttribute('language')."\n"; 33 echo "Language: ".$node->getAttribute('language')."\n";
|
/PHP-7.2/ext/xmlreader/tests/ |
H A D | 012.phpt | 17 var_dump($reader->getAttribute('bar')); 18 var_dump($reader->getAttribute('baz')); 35 var_dump($reader->getAttribute('bar')); 36 var_dump($reader->getAttribute('baz')); 50 var_dump($reader->getAttribute('bar')); 51 var_dump($reader->getAttribute('baz')); 58 var_dump($reader->getAttribute('bar')); 59 var_dump($reader->getAttribute('baz'));
|
H A D | 003-mb.phpt | 27 if ($reader->getAttribute($reader->name) == $reader->value) { 36 if ($reader->getAttribute($reader->name) == $reader->value) { 45 if ($reader->getAttribute('num') == $reader->value) { 53 if ($reader->getAttribute('idx') == $reader->value) {
|
H A D | 003.phpt | 27 if ($reader->getAttribute($reader->name) == $reader->value) { 36 if ($reader->getAttribute($reader->name) == $reader->value) { 45 if ($reader->getAttribute('num') == $reader->value) { 53 if ($reader->getAttribute('idx') == $reader->value) {
|
/PHP-7.2/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_get_attribute.phpt | 2 PDO_sqlite: Testing getAttribute() 9 var_dump($pdo->getAttribute(PDO::ATTR_SERVER_VERSION)); 10 var_dump($pdo->getAttribute(PDO::ATTR_CLIENT_VERSION));
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct_options.phpt | 63 /* TODO getAttribute() does not handle it */ 65 /* TODO getAttribute() does not handle it */ 88 $tmp = @$db->getAttribute($option); 117 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES)) 119 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY)) 126 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES)) 128 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY)) 135 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES)) 137 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY)) 141 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES)) [all …]
|
H A D | pdo_mysql___construct_options_libmysql.phpt | 23 if (!is_object($db) || (!$ignore_diff && ($value !== ($tmp = @$db->getAttribute($option))))) 48 /* TODO getAttribute() does not handle it */ 55 /* TODO getAttribute() is pretty poor in supporting the options, suppress errors */ 56 $tmp = @$db->getAttribute($option); 58 …printf("[001] Expecting default value for '%s' of '%s'/%s, getAttribute() reports setting '%s'/%s\… 81 [001] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() repor…
|
H A D | pdo_mysql_attr_case.phpt | 16 $default = $db->getAttribute(PDO::ATTR_CASE); 23 printf("[001] getAttribute(PDO::ATTR_CASE) returns unknown value '%s'\n", 39 if (($tmp = $db->getAttribute(PDO::ATTR_CASE)) !== PDO::CASE_LOWER) 40 printf("[004] getAttribute(PDO::ATTR_CASE) returns wrong value '%s'\n", 61 if (($tmp = $db->getAttribute(PDO::ATTR_CASE)) !== PDO::CASE_UPPER) 62 printf("[009] getAttribute(PDO::ATTR_CASE) returns wrong value '%s'\n", 75 if (($tmp = $db->getAttribute(PDO::ATTR_CASE)) !== PDO::CASE_NATURAL) 76 printf("[012] getAttribute(PDO::ATTR_CASE) returns wrong value '%s'\n",
|
H A D | pdo_mysql_attr_prefetch.phpt | 14 var_dump($db->getAttribute(PDO::ATTR_PREFETCH)); 18 Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does n…
|
H A D | pdo_mysql_attr_driver_name.phpt | 17 $name = $db->getAttribute(PDO::ATTR_DRIVER_NAME); 23 $new_name = $db->getAttribute(PDO::ATTR_DRIVER_NAME);
|
H A D | pdo_mysql_attr_connection_status.phpt | 15 $status = $db->getAttribute(PDO::ATTR_CONNECTION_STATUS); 30 $status2 = $db->getAttribute(PDO::ATTR_CONNECTION_STATUS);
|
H A D | pdo_mysql_quote.phpt | 18 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_CHAR); 20 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_NATL);
|
H A D | bug68371.phpt | 2 PDO MySQL Bug #38671 (PDO#getAttribute() cannot be called with platform-specific attribute names) 48 var_dump($pdo->getAttribute($a)); 51 if ($pdo->getAttribute($a) === $v) {
|
H A D | pdo_mysql_rollback.phpt | 62 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT)); 68 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT)); 74 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT)); 80 var_dump($db->getAttribute(PDO::ATTR_AUTOCOMMIT));
|
H A D | pdo_mysql_attr_client_version.phpt | 17 $version = $db->getAttribute(PDO::ATTR_CLIENT_VERSION); 30 $new_version = $db->getAttribute(PDO::ATTR_CLIENT_VERSION);
|
H A D | pdo_mysql_get_attribute.phpt | 2 MySQL PDO->getAttribute() 42 $tmp = $db->getAttribute($attribute); 44 printf("[%03d] Attribute '%s' was set to '%s'/%s but getAttribute() reports '%s'/%s\n",
|
/PHP-7.2/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_prefetch_1.phpt | 20 echo $dbh->getAttribute(PDO::ATTR_PREFETCH), "\n"; 31 echo $dbh->getAttribute(PDO::ATTR_PREFETCH), "\n"; 42 echo $dbh->getAttribute(PDO::ATTR_PREFETCH), "\n"; 53 echo $dbh->getAttribute(PDO::ATTR_PREFETCH), "\n";
|
H A D | pdo_oci_attr_autocommit_1.phpt | 21 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT)); 28 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT)); 35 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT));
|
H A D | pdo_oci_attr_server.phpt | 18 var_dump($dbh->getAttribute(PDO::ATTR_SERVER_VERSION)); 22 $si = $dbh->getAttribute(PDO::ATTR_SERVER_INFO);
|
/PHP-7.2/ext/pdo_dblib/tests/ |
H A D | pdo_dblib_quote.phpt | 20 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_CHAR); 22 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_NATL); 29 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_NATL);
|
H A D | dbversion.phpt | 12 $version = $db->getAttribute(PDO::DBLIB_ATTR_VERSION);
|
/PHP-7.2/ext/pdo/tests/ |
H A D | bug_43139.phpt | 21 if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'oci') { 23 } else if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'firebird') {
|
/PHP-7.2/ext/pdo_pgsql/tests/ |
H A D | bug68371.phpt | 2 PDO PgSQL Bug #38671 (PDO#getAttribute() cannot be called with platform-specific attribute names) 49 var_dump($pdo->getAttribute($a)); 52 if ($pdo->getAttribute($a) === $v) {
|
Completed in 30 milliseconds
12345