/php-src/ext/standard/tests/strings/ |
H A D | get_html_translation_table_basic8.phpt | 7 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 D | get_html_translation_table_basic9.phpt | 8 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 D | get_html_translation_table_basic3.phpt | 9 // $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 D | get_html_translation_table_basic6.phpt | 10 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 D | get_html_translation_table_basic7.phpt | 7 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 D | bug68638.phpt | 14 $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 D | bug72028.phpt | 9 // 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 D | bug71062.phpt | 14 $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_sqlite/tests/ |
H A D | pdo_sqlite_parser.phpt | 13 $table = 'pdo_sqlite_parser'; 15 $db->exec("CREATE TABLE {$table} (`a``?` int NOT NULL)"); 16 $db->exec("INSERT INTO {$table} VALUES (1)"); 20 "SELECT * FROM {$table}", 21 "SELECT * FROM {$table} -- ?", 22 "SELECT * FROM {$table} /* ? */", 33 "SELECT * FROM {$table} WHERE '1' = ?", 34 "SELECT * FROM {$table} WHERE \"?\" IN (?, \"?\")", 35 "SELECT * FROM {$table} WHERE `a``?` = ?", 36 "SELECT * FROM {$table} WHERE \"a`?\" = ?", [all …]
|
H A D | bug_42589.phpt | 2 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/pdo_mysql/tests/ |
H A D | pdo_mysql_parser.phpt | 15 $table = 'pdo_mysql_parser'; 17 $db->exec("DROP TABLE IF EXISTS {$table}"); 19 $db->exec("INSERT INTO {$table} VALUES (1)"); 23 "SELECT * FROM {$table}", 24 "SELECT * FROM {$table} -- ?", 25 "SELECT * FROM {$table} # ?", 26 "SELECT * FROM {$table} /* ? */", 37 "SELECT * FROM {$table} WHERE 1 = ?", 38 "SELECT * FROM {$table} WHERE 1 = --?", 39 "SELECT * FROM {$table} WHERE \"?\" IN (?, '?')", [all …]
|
H A D | bug78152.phpt | 15 $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 D | pdo_mysql_stmt_errorinfo.phpt | 15 $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 D | pdo_mysql_rollback.phpt | 15 $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 D | pdo_mysql_attr_multi_statements.phpt | 20 $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 D | pdo_mysql_stmt_multiquery.phpt | 14 $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 D | pdo_mysql_prepare_native_mixed_style.phpt | 15 $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 D | pdo_mysql_exec_ddl.phpt | 40 $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);
|
/php-src/ext/pdo_firebird/tests/ |
H A D | transaction_isolation_level_behavior.phpt | 17 $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 D | autocommit.phpt | 16 $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/dom/lexbor/lexbor/core/ |
H A D | shs.h | 53 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/Zend/tests/lazy_objects/ |
H A D | init_exception_reverts_initializer_changes_props_ht_ref.phpt | 31 var_dump($table); 37 global $table; 42 $table = (array) $obj; 49 global $table; 54 $table = (array) $obj; 77 Warning: Undefined variable $table in %s on line %d 96 Warning: Undefined variable $table in %s on line %d
|
/php-src/Zend/ |
H A D | zend_weakrefs.h | 71 HashTable *zend_weakmap_get_gc(zend_object *object, zval **table, int *n); 72 HashTable *zend_weakmap_get_key_entry_gc(zend_object *object, zval **table, int *n); 73 HashTable *zend_weakmap_get_entry_gc(zend_object *object, zval **table, int *n); 74 HashTable *zend_weakmap_get_object_key_entry_gc(zend_object *object, zval **table, int *n); 75 HashTable *zend_weakmap_get_object_entry_gc(zend_object *object, zval **table, int *n);
|
/php-src/ext/sqlite3/tests/ |
H A D | sqlite3_20_error.phpt | 10 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
|
H A D | sqlite3_38_backup.phpt | 10 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
|