Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/php-src/ext/standard/tests/strings/
H A Dget_html_translation_table_basic8.phpt7 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n";
8 $table = HTML_ENTITIES;
15 $table = HTML_ENTITIES;
20 $table = HTML_ENTITIES;
25 $table = HTML_SPECIALCHARS;
32 $table = HTML_SPECIALCHARS;
38 $table = HTML_SPECIALCHARS;
48 -- with table = HTML_ENTITIES, ENT_QUOTES --
58 -- with table = HTML_ENTITIES, ENT_COMPAT --
60 -- with table = HTML_ENTITIES, ENT_NOQUOTES --
[all …]
H A Dget_html_translation_table_basic9.phpt8 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n";
9 $table = HTML_ENTITIES;
16 $table = HTML_ENTITIES;
21 $table = HTML_ENTITIES;
26 $table = HTML_SPECIALCHARS;
33 $table = HTML_SPECIALCHARS;
39 $table = HTML_SPECIALCHARS;
50 -- with table = HTML_ENTITIES, ENT_QUOTES --
60 -- with table = HTML_ENTITIES, ENT_COMPAT --
62 -- with table = HTML_ENTITIES, ENT_NOQUOTES --
[all …]
H A Dget_html_translation_table_basic3.phpt9 // $table as HTML_SEPCIALCHARS and different quote style
10 echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --\n";
11 $table = HTML_SPECIALCHARS;
13 $tt = get_html_translation_table($table, $quote_style, "UTF-8");
17 echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTES --\n";
19 $tt = get_html_translation_table($table, $quote_style, "UTF-8");
23 echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTES --\n";
25 $tt = get_html_translation_table($table, $quote_style, "UTF-8");
33 -- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
44 -- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTES --
[all …]
H A Dget_html_translation_table_basic6.phpt10 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n";
11 $table = HTML_ENTITIES;
17 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n";
18 $table = HTML_ENTITIES;
23 $table = HTML_ENTITIES;
28 $table = HTML_SPECIALCHARS;
35 $table = HTML_SPECIALCHARS;
41 $table = HTML_SPECIALCHARS;
51 -- with table = HTML_ENTITIES, ENT_COMPAT --
214 -- with table = HTML_ENTITIES, ENT_QUOTES --
[all …]
H A Dget_html_translation_table_basic7.phpt7 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n";
8 $table = HTML_ENTITIES;
15 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n";
16 $table = HTML_ENTITIES;
21 $table = HTML_ENTITIES;
26 $table = HTML_SPECIALCHARS;
33 $table = HTML_SPECIALCHARS;
39 $table = HTML_SPECIALCHARS;
49 -- with table = HTML_ENTITIES, ENT_QUOTES --
307 -- with table = HTML_ENTITIES, ENT_COMPAT --
[all …]
/php-src/ext/pgsql/tests/
H A Dbug68638.phpt14 $table='test_68638';
16 pg_query($conn, "CREATE TABLE $table (id INT, value FLOAT)");
18 pg_insert($conn,$table, array('id' => 1, 'value' => 1.2));
19 pg_insert($conn,$table, array('id' => 2, 'value' => 10));
20 pg_insert($conn,$table, array('id' => 3, 'value' => 15));
24 pg_update($conn,$table, array('value' => 'inf'), array('id' => 1));
25 pg_update($conn,$table, array('value' => '-inf'), array('id' => 2));
26 pg_update($conn,$table, array('value' => '+inf'), array('id' => 3));
28 $rs = pg_query($conn, "SELECT * FROM $table");
39 $table='test_68638';
[all …]
H A Dbug72028.phpt9 // create test table
15 $table = "bug72028";
17 pg_query($conn, "CREATE TABLE $table (value TEXT, details TEXT);");
19 $sql = "INSERT INTO $table (value, details) VALUES ($1, $2)";
32 $r = pg_query($conn, "SELECT * FROM $table");
40 $table = "bug72028";;
43 pg_query($conn, "DROP TABLE IF EXISTS $table");
H A Dbug71062.phpt14 $table = "public.test_table_bug71062_bug71062";
16 pg_query($db, "CREATE TABLE $table ( test_field TIMESTAMPTZ )");
26 pg_convert($db, $table, ['test_field' => $date_string_php_iso8601]);
29 pg_convert($db, $table, ['test_field' => $date_string_modified_iso8601]);
39 $table = "public.test_table_bug71062_bug71062";
41 pg_query($db, "DROP TABLE IF EXISTS $table");
/php-src/ext/pdo_firebird/tests/
H A Dtransaction_isolation_level_behavior.phpt17 $table = 'txn_isolation_level_behavior';
39 $r = $dbh->query("SELECT * FROM {$table}");
42 echo "Close transaction and reset table\n";
44 $dbh_other->exec("DELETE FROM {$table}");
62 $r = $dbh->query("SELECT * FROM {$table}");
67 $dbh_other->exec("DELETE FROM {$table}");
90 $dbh_other->exec("DELETE FROM {$table}");
120 $dbh_other->exec("DELETE FROM {$table}");
142 Close transaction and reset table
157 Close transaction and reset table
[all …]
H A Dautocommit.phpt16 $table = "autocommit_pdo_firebird";
23 echo "create table and insert\n";
24 $dbh->exec("CREATE TABLE {$table} (val INT)");
25 $dbh->exec("INSERT INTO {$table} VALUES (35)");
31 $r = $dbh->query("SELECT * FROM {$table}");
40 $dbh->exec("INSERT INTO {$table} VALUES (35)");
47 $r = $dbh->query("SELECT * FROM {$table}");
63 create table and insert
/php-src/ext/pdo_mysql/tests/
H A Dbug78152.phpt15 $table = 'bug78152_pdo_mysql';
16 MySQLPDOTest::createTestTable($table, $db);
18 var_dump($db->exec("INSERT INTO {$table} (id, label) VALUES (41, 'x'); INSERT INTO {$table}_bad (id…
21 …var_dump($db->exec("INSERT INTO {$table} (id, label) VALUES (42, 'x'); INSERT INTO {$table}_bad (i…
33 Warning: PDO::exec(): SQLSTATE[42S02]: Base table or view not found: 1146 Table '%s.bug78152_pdo_my…
35 SQLSTATE[42S02]: Base table or view not found: 1146 Table '%s.bug78152_pdo_mysql_bad' doesn't exist
H A Dpdo_mysql_stmt_errorinfo.phpt15 $table = 'pdo_mysql_stmt_errorinfo';
16 MySQLPDOTest::createTestTable($table , $db);
29 MySQLPDOTest::createTestTable($table, $db);
30 $stmt = $db->prepare("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1");
31 $db->exec("DROP TABLE {$table}");
50 MySQLPDOTest::createTestTable($table, $db);
51 $stmt = $db->prepare("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1");
53 $db->exec("DROP TABLE {$table}");
91 Warning: PDOStatement::execute(): SQLSTATE[42S02]: Base table or view not found: 1146 Table '%s.pdo…
111 Warning: PDO::prepare(): SQLSTATE[42S02]: Base table or view not found: 1146 Table '%s.pdo_mysql_st…
[all …]
H A Dpdo_mysql_rollback.phpt15 $table = 'pdo_mysql_rollback';
18 … MySQLPDOTest::createTestTable($table, $db, MySQLPDOTest::detect_transactional_mysql_engine($db));
22 $row = $db->query("SELECT COUNT(*) AS _num FROM {$table}")->fetch(PDO::FETCH_ASSOC);
25 $db->query("INSERT INTO {$table}(id, label) VALUES (100, 'z')");
27 $row = $db->query("SELECT COUNT(*) AS _num FROM {$table}")->fetch(PDO::FETCH_ASSOC);
33 $row = $db->query("SELECT COUNT(*) AS _num FROM {$table}")->fetch(PDO::FETCH_ASSOC);
38 $db->query("INSERT INTO {$table}(id, label) VALUES (100, 'z')");
64 $db->query("DELETE FROM {$table}");
70 $db->query("DELETE FROM {$table}");
76 $db->query("DELETE FROM {$table}");
[all …]
H A Dpdo_mysql_attr_multi_statements.phpt20 $table = 'pdo_mysql_attr_multi_statements';
26 $create = sprintf('CREATE TABLE %s(id INT)', $table);
28 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table));
29 $stmt = $db->query(sprintf('SELECT * FROM %s; INSERT INTO %s(id) VALUES (2)', $table, $table));
33 $stmt = $db->query(sprintf('SELECT id FROM %s', $table));
43 $stmt = $db->query(sprintf('SELECT * FROM %s; INSERT INTO %s(id) VALUES (3)', $table, $table));
48 $stmt = $db->query(sprintf('SELECT id FROM %s', $table));
H A Dpdo_mysql_stmt_multiquery.phpt14 $table = 'pdo_mysql_stmt_multiquery';
17 global $table;
19 …$stmt = $db->query("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1; SELECT label FROM {$table}…
26 global $table;
28 …$stmt = $db->query("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1; SELECT label FROM {$table}…
38 MySQLPDOTest::createTestTable($table, $db);
45 MySQLPDOTest::createTestTable($table, $db);
H A Dpdo_mysql_prepare_native_mixed_style.phpt15 $table = 'pdo_mysql_prepare_native_mixed_style';
16 MySQLPDOTest::createTestTable($table, $db);
22 $stmt = $db->query("DELETE FROM {$table}");
23 $stmt = $db->prepare("INSERT INTO {$table}(id, label) VALUES (1, ?), (2, ?)");
25 …b->prepare("SELECT id, label FROM {$table} WHERE id = :placeholder AND label = (SELECT label AS 'S…
H A Dpdo_mysql_exec_ddl.phpt40 $table = 'pdo_mysql_exec_ddl';
49 if (0 === $db->exec("CREATE TABLE {$table} (id INT, col1 CHAR(2))")) {
50 exec_and_count(5, $db, "CREATE INDEX idx1 ON {$table} (id)", 0);
51 exec_and_count(6, $db, "DROP INDEX idx1 ON {$table}", 0);
52 exec_and_count(7, $db, "ALTER TABLE {$table} DROP id", 0);
53 exec_and_count(8, $db, "ALTER TABLE {$table} ADD id INT", 0);
54 exec_and_count(9, $db, "ALTER TABLE {$table} ALTER id SET DEFAULT 1", 0);
55 exec_and_count(10, $db, "RENAME TABLE {$table} TO {$table2}", 0);
H A Dpdo_mysql_stmt_rowcount.phpt15 $table = 'pdo_mysql_stmt_rowcount';
16 MySQLPDOTest::createTestTable($table, $db);
20 if (0 !== ($tmp = $db->query("SELECT id FROM {$table} WHERE 1 = 0")->rowCount()))
23 if (1 !== ($tmp = $db->query("SELECT id FROM {$table} WHERE id = 1")->rowCount()))
/php-src/Zend/
H A Dzend_weakrefs.h65 HashTable *zend_weakmap_get_gc(zend_object *object, zval **table, int *n);
66 HashTable *zend_weakmap_get_key_entry_gc(zend_object *object, zval **table, int *n);
67 HashTable *zend_weakmap_get_entry_gc(zend_object *object, zval **table, int *n);
68 HashTable *zend_weakmap_get_object_key_entry_gc(zend_object *object, zval **table, int *n);
69 HashTable *zend_weakmap_get_object_entry_gc(zend_object *object, zval **table, int *n);
/php-src/ext/pdo_sqlite/tests/
H A Dbug_42589.phpt2 PDO SQLite Feature Request #42589 (getColumnMeta() should also return table name)
24 var_dump(!empty($meta1['table']) && $meta1['table'] == 'test_42589');
25 var_dump(!empty($meta2['table']) && $meta2['table'] == 'test_42589');
/php-src/ext/dom/lexbor/lexbor/core/
H A Dshs.h53 lexbor_shs_hash_get_static(const lexbor_shs_hash_t *table, in lexbor_shs_hash_get_static() argument
58 entry = &table[ (key % table_size) + 1 ]; in lexbor_shs_hash_get_static()
65 entry = &table[entry->next]; in lexbor_shs_hash_get_static()
67 while (entry != table); in lexbor_shs_hash_get_static()
/php-src/ext/sqlite3/tests/
H A Dsqlite3_38_backup.phpt10 echo "Creating table\n";
14 echo "Checking if table has been created\n";
22 echo "Checking if table has been copied\n";
42 Creating table
43 Checking if table has been created
47 Checking if table has been copied
H A Dsqlite3_20_error.phpt10 echo "SELECTING from invalid table\n";
21 SELECTING from invalid table
23 Warning: SQLite3::query(): Unable to prepare statement: no such table: non_existent_table in %s on …
25 Error Msg: no such table: non_existent_table
/php-src/ext/phar/tests/
H A Dphpinfo_004.phpt29 <table>
38 </table>
39 <table>
42 </table>
43 <table>
48 </table>
51 <table>
60 </table>
61 <table>
64 </table>
[all …]
/php-src/ext/pdo_pgsql/tests/
H A Dbug62498.phpt21 // create the table
62 ["table"]=>
81 ["table"]=>
100 ["table"]=>
119 ["table"]=>
138 ["table"]=>
157 ["table"]=>
176 ["table"]=>
195 ["table"]=>
214 ["table"]=>

Completed in 55 milliseconds

12345678910>>...22