/php-src/ext/dom/tests/ |
H A D | bug38474.phpt | 2 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 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 | DOMDocument_getElementsByTagName_liveness_simplexml.phpt | 12 print $list->item(5)->getAttribute('i')."\n"; 18 print $list->item(5)->getAttribute('i')."\n"; 21 print $list->item(5)->getAttribute('i')."\n";
|
H A D | DOMDocument_getElementsByTagName_liveness_tree_walk.phpt | 15 echo $i, " ", $list->item($i)->getAttribute('i'), "\n"; 22 echo $item->getAttribute('i'), "\n"; 29 echo $i, " ", $list->item($i)->getAttribute('i'), "\n"; 36 echo $item->getAttribute('i'), "\n";
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | Element_getAttribute.phpt | 2 Element::getAttribute() 12 var_dump($body->getAttribute("align")); 13 var_dump($body->getAttribute("foo:bar")); 19 var_dump($body->getAttribute("prefix:local")); 25 var_dump($body->getAttribute("prefix:local2")); 26 var_dump($body->getAttribute("Prefix:LOCAL2")); 34 var_dump($element->getAttribute("Prefix:local2")); 35 var_dump($element->getAttribute("Prefix:LOCAL2")); 36 var_dump($element->getAttribute("prefix:local2"));
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct_options_libmysql.phpt | 23 … if (!is_object($db) || (!$ignore_diff && ($value !== ($tmp = @$db->getAttribute($option))))) 30 echo "Failed to getAttribute() for $option_desc\n"; 45 /* TODO getAttribute() does not handle it */ 53 $tmp = $db->getAttribute($option); 55 …printf("[001] Expecting default value for '%s' of '%s'/%s, getAttribute() reports setting '%s'/%s\… 59 echo "Failed to getAttribute() for $name\n"; 73 Failed to getAttribute() for PDO::MYSQL_ATTR_INIT_COMMAND 74 Failed to getAttribute() for PDO::MYSQL_ATTR_READ_DEFAULT_FILE 75 Failed to getAttribute() for PDO::MYSQL_ATTR_READ_DEFAULT_GROUP 76 Failed to getAttribute() for PDO::MYSQL_ATTR_READ_DEFAULT_FILE [all …]
|
H A D | pdo_mysql___construct_options.phpt | 62 /* TODO getAttribute() does not handle it */ 64 /* TODO getAttribute() does not handle it */ 86 $tmp = @$db->getAttribute($option); 115 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES)) 117 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY)) 124 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES)) 126 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY)) 133 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES)) 135 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY)) 139 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES)) [all …]
|
H A D | pdo_mysql_attr_case.phpt | 19 $default = $db->getAttribute(PDO::ATTR_CASE); 26 printf("[001] getAttribute(PDO::ATTR_CASE) returns unknown value '%s'\n", 42 if (($tmp = $db->getAttribute(PDO::ATTR_CASE)) !== PDO::CASE_LOWER) 43 printf("[004] getAttribute(PDO::ATTR_CASE) returns wrong value '%s'\n", 64 if (($tmp = $db->getAttribute(PDO::ATTR_CASE)) !== PDO::CASE_UPPER) 65 printf("[009] getAttribute(PDO::ATTR_CASE) returns wrong value '%s'\n", 78 if (($tmp = $db->getAttribute(PDO::ATTR_CASE)) !== PDO::CASE_NATURAL) 79 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)); 19 Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does n…
|
H A D | pdo_mysql_local_infile_default_off.phpt | 22 echo var_export($db->getAttribute(PDO::MYSQL_ATTR_LOCAL_INFILE)), "\n"; 23 echo var_export($db->getAttribute(PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY)), "\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);
|
/php-src/ext/xmlreader/tests/ |
H A D | 012.phpt | 16 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 D | 003-mb.phpt | 26 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 D | 003.phpt | 26 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-src/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));
|
H A D | pdo_sqlite_statement_getattribute.phpt | 2 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-src/ext/pdo_firebird/tests/ |
H A D | attr_datetime_format.phpt | 16 echo 'ATTR_DATE_FORMAT: ', $dbh->getAttribute(Pdo\firebird::ATTR_DATE_FORMAT), "\n"; 17 echo 'ATTR_TIME_FORMAT: ', $dbh->getAttribute(Pdo\firebird::ATTR_TIME_FORMAT), "\n"; 18 echo 'ATTR_TIMESTAMP_FORMAT: ', $dbh->getAttribute(Pdo\firebird::ATTR_TIMESTAMP_FORMAT), "\n"; 27 echo 'ATTR_DATE_FORMAT: ', $dbh->getAttribute(Pdo\firebird::ATTR_DATE_FORMAT), "\n"; 28 echo 'ATTR_TIME_FORMAT: ', $dbh->getAttribute(Pdo\firebird::ATTR_TIME_FORMAT), "\n"; 29 echo 'ATTR_TIMESTAMP_FORMAT: ', $dbh->getAttribute(Pdo\firebird::ATTR_TIMESTAMP_FORMAT), "\n";
|
H A D | autocommit_change_mode.phpt | 20 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT)); 25 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT)); 30 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT)); 35 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT)); 48 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT)); 56 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT)); 74 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT)); 82 var_dump($dbh->getAttribute(PDO::ATTR_AUTOCOMMIT));
|
H A D | transaction_access_mode.phpt | 36 if ($dbh->getAttribute(Pdo\Firebird::WRITABLE_TRANSACTION) === $value['val']) { 58 if ($dbh->getAttribute(Pdo\Firebird::WRITABLE_TRANSACTION) === true) { 71 if ($dbh->getAttribute(Pdo\Firebird::WRITABLE_TRANSACTION) === false) { 96 var_dump($dbh->getAttribute(Pdo\Firebird::WRITABLE_TRANSACTION)); 105 var_dump($dbh->getAttribute(Pdo\Firebird::WRITABLE_TRANSACTION)); 118 var_dump($dbh->getAttribute(Pdo\Firebird::WRITABLE_TRANSACTION)); 127 var_dump($dbh->getAttribute(Pdo\Firebird::WRITABLE_TRANSACTION));
|
/php-src/ext/pdo_odbc/tests/ |
H A D | get_attribute_server.phpt | 2 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 D | autocommit_change_mode.phpt | 20 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-src/ext/pdo_dblib/tests/ |
H A D | datetime2.phpt | 9 if (in_array($db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION), ['4.2', '4.6', '5.0', '6.0', '7.0', '7… 19 var_dump($db->getAttribute(PDO::DBLIB_ATTR_DATETIME_CONVERT)); 25 var_dump($db->getAttribute(PDO::DBLIB_ATTR_DATETIME_CONVERT));
|
H A D | bug_69592.phpt | 21 var_dump($db->getAttribute(PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS)); 31 var_dump($db->getAttribute(PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS)); 38 var_dump($db->getAttribute(PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS));
|
H A D | pdo_dblib_quote.phpt | 23 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_CHAR); 25 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_NATL); 32 var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_NATL);
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | result_memory_size.phpt | 2 PDO PgSQL PDOStatement::getAttribute(PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE) 21 $result_1 = $statement->getAttribute(PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE); 26 $result_2 = $result->getAttribute(PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE); 34 $result_3 = $statement->getAttribute(PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE);
|