/php-src/ext/pdo_pgsql/tests/ |
H A D | bug62498-32bit.phpt | 21 // create the table 63 ["table"]=> 82 ["table"]=> 101 ["table"]=> 120 ["table"]=> 139 ["table"]=> 158 ["table"]=> 177 ["table"]=> 196 ["table"]=> 215 ["table"]=>
|
/php-src/ext/standard/tests/strings/ |
H A D | get_html_translation_table_basic4.phpt | 7 echo "-- with table = HTML_ENTITIES --\n"; 8 $table = HTML_ENTITIES; 9 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252"); 13 echo "-- with table = HTML_SPECIALCHARS --\n"; 14 $table = HTML_SPECIALCHARS; 15 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252"); 23 -- with table = HTML_ENTITIES -- 276 -- with table = HTML_SPECIALCHARS --
|
H A D | get_html_translation_table_basic1.phpt | 5 /* Test get_html_translation_table() when table is specified as HTML_ENTITIES */ 10 echo "-- with table = HTML_ENTITIES --\n"; 11 $table = HTML_ENTITIES; 12 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8"); 16 echo "-- with table = HTML_SPECIALCHARS --\n"; 17 $table = HTML_SPECIALCHARS; 18 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8"); 26 -- with table = HTML_ENTITIES -- 533 -- with table = HTML_SPECIALCHARS --
|
H A D | bug21453.phpt | 6 <table> 9 </table>";
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_columncount.phpt | 15 $table = 'pdo_mysql_stmt_columncount'; 16 MySQLPDOTest::createTestTable($table, $db); 27 $stmt = $db->prepare("SELECT id, label, '?' as foo FROM {$table}"); 31 $stmt = $db->query("SELECT * FROM {$table}"); 45 …tmt = $db->prepare("SELECT id, label, '?' as foo, 'TODO - Stored Procedure' as bar FROM {$table}"); 49 $stmt = $db->query("SELECT * FROM {$table}");
|
H A D | pdo_mysql_attr_fetch_table_names.phpt | 15 $table = 'pdo_mysql_attr_fetch_table_names'; 16 MySQLPDOTest::createTestTable($table, $db); 20 $stmt = $db->query("SELECT label FROM {$table} LIMIT 1"); 26 $stmt = $db->query("SELECT label FROM {$table} LIMIT 1");
|
H A D | pdo_mysql_attr_autocommit.phpt | 53 $table = 'pdo_mysql_attr_autocommit'; 57 … MySQLPDOTest::createTestTable($table, $db, MySQLPDOTest::detect_transactional_mysql_engine($db)); 58 $row = $db->query("SELECT COUNT(*) AS _num FROM {$table}")->fetch(PDO::FETCH_ASSOC); 61 $db->query("INSERT INTO {$table} (id, label) VALUES (100, 'z')"); 63 $row = $db->query("SELECT COUNT(*) AS _num FROM {$table}")->fetch(PDO::FETCH_ASSOC); 69 $row = $db->query("SELECT COUNT(*) AS _num FROM {$table}")->fetch(PDO::FETCH_ASSOC); 76 $db->query("DELETE FROM {$table} WHERE id = 100"); 78 $row = $db->query("SELECT COUNT(*) AS _num FROM {$table}")->fetch(PDO::FETCH_ASSOC); 82 $db->query("DELETE FROM {$table} WHERE id = 100"); 85 $row = $db->query("SELECT COUNT(*) AS _num FROM {$table}")->fetch(PDO::FETCH_ASSOC);
|
H A D | pdo_mysql_attr_init_command.phpt | 20 $table = 'pdo_mysql_attr_init_command'; 23 $create = sprintf('CREATE TABLE %s(id INT)', $table); 31 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table)); 32 $stmt = $db->query(sprintf('SELECT id FROM %s', $table));
|
H A D | pdo_mysql_errorcode.phpt | 15 $table = 'pdo_mysql_errorcode'; 16 MySQLPDOTest::createTestTable($table, $db); 37 $stmt = $db->query("SELECT id, label FROM {$table}"); 42 $db->exec("DROP TABLE IF EXISTS {$table}"); 52 MySQLPDOTest::createTestTable($table, $db); 53 $stmt = $db->query("SELECT id, label FROM {$table}");
|
H A D | pdo_mysql_stmt_unbuffered_2050.phpt | 17 $table = 'pdo_mysql_stmt_unbuffered_2050'; 26 MySQLPDOTest::createTestTable($table, $db); 28 $stmt = $db->query("SELECT id, label FROM {$table} WHERE id = 1"); 30 $stmt = $db->query("SELECT id, label FROM {$table} WHERE id = 1"); 34 MySQLPDOTest::createTestTable($table, $db); 36 $stmt = $db->query("SELECT id, label FROM {$table} WHERE id = 1"); 88 $stmt = $db->query("SELECT id, label FROM {$table} WHERE id = 1"); 91 $stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id = 1"); 95 $stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id = 1"); 100 $stmt = $db->query("SELECT id, label FROM {$table} WHERE id = 1"); [all …]
|
H A D | pdo_mysql_prepare_native_column.phpt | 15 $table = 'pdo_mysql_prepare_native_column'; 16 MySQLPDOTest::createTestTable($table, $db); 22 $stmt = $db->prepare("SELECT :param FROM {$table} ORDER BY id ASC LIMIT 1"); 26 $db->prepare("SELECT :placeholder FROM {$table} WHERE :placeholder > :placeholder");
|
H A D | pdo_mysql_stmt_closecursor.phpt | 16 $table = 'pdo_mysql_stmt_closecursor'; 19 global $table; 25 $stmt1 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC"); 27 $stmt2 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC"); 42 $stmt2 = $db->prepare("UPDATE {$table} SET label = ? WHERE id = ?"); 59 $stmt1 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC"); 70 $stmt2 = $db->prepare("UPDATE {$table} SET label = ? WHERE id = ?"); 119 MySQLPDOTest::createTestTable($table, $db); 124 MySQLPDOTest::createTestTable($table, $db); 133 MySQLPDOTest::createTestTable($table, $db); [all …]
|
H A D | pdo_mysql_errorinfo.phpt | 15 $table = 'pdo_mysql_errorinfo'; 16 MySQLPDOTest::createTestTable($table, $db); 36 global $table; 49 $stmt = $db->query("SELECT id, label FROM {$table}"); 54 $db->exec("DROP TABLE IF EXISTS {$table}"); 63 MySQLPDOTest::createTestTable($table, $db); 64 $stmt = $db->query("SELECT id, label FROM {$table}");
|
H A D | bug81037.phpt | 18 $table = 'bug81037_pdo_mysql'; 19 MySQLPDOTest::createTestTable($table, $pdo); 21 $sql = "SELECT id FROM {$table} WHERE label = :par";
|
H A D | pdo_mysql_commit.phpt | 15 $table = 'pdo_mysql_commit'; 16 … MySQLPDOTest::createTestTable($table, $db, MySQLPDOTest::detect_transactional_mysql_engine($db)); 45 $db->exec("INSERT INTO {$table} (id, label) VALUES (100, 'z')"); 52 $stmt = $db->query("SELECT id, label FROM {$table} WHERE id = 100"); 62 MySQLPDOTest::createTestTable($table, $db, 'MyISAM'); 67 $db->exec("INSERT INTO {$table} (id, label) VALUES (100, 'z')"); 73 $stmt = $db->query("SELECT id, label FROM {$table} WHERE id = 100");
|
H A D | pdo_mysql_begintransaction.phpt | 15 $table = 'pdo_mysql_begintransaction'; 17 … MySQLPDOTest::createTestTable($table, $db, MySQLPDOTest::detect_transactional_mysql_engine($db)); 29 if (0 == $db->exec("DELETE FROM {$table}")) 38 if (!($stmt = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC"))) 47 if (1 !== $db->exec(sprintf('DELETE FROM %s WHERE id = %d', $table, $row['id']))) 64 $db->exec(sprintf("INSERT INTO %s (id, label) VALUES (%d, 'z')", $table, $row['id'])); 88 if (1 !== $db->exec(sprintf('DELETE FROM %s WHERE id = %d', $table, $row['id']))) 152 MySQLPDOTest::createTestTable($table, $db, 'MyISAM'); 161 if (0 == $db->exec("DELETE FROM {$table}")) 171 if (0 == $db->exec("INSERT INTO {$table} (id, label) VALUES (1, 'a')")) [all …]
|
/php-src/Zend/ |
H A D | zend_iterators.c | 27 static HashTable *iter_wrapper_get_gc(zend_object *object, zval **table, int *n); 73 static HashTable *iter_wrapper_get_gc(zend_object *object, zval **table, int *n) { in iter_wrapper_get_gc() argument 76 return iter->funcs->get_gc(iter, table, n); in iter_wrapper_get_gc() 79 *table = NULL; in iter_wrapper_get_gc()
|
/php-src/ext/pdo_odbc/tests/ |
H A D | autocommit.phpt | 16 $table = 'autocommit_pdo_odbc'; 19 $db->exec("CREATE TABLE {$table} (id INT, name VARCHAR(255))"); 27 $db->query("INSERT INTO {$table} (id, name) VALUES (1, 'test')"); 32 $r = $db->query("SELECT * FROM {$table}");
|
/php-src/ext/pdo_firebird/tests/ |
H A D | error_handle.phpt | 17 $table = 'error_handle'; 18 $dbh->query("CREATE TABLE {$table} (val int)"); 21 $dbh->query("INSERT INTO {$table} VALUES ('str')"); 26 $stmt = $dbh->prepare("INSERT INTO {$table} VALUES ('str')");
|
/php-src/ext/sqlite3/tests/ |
H A D | bug69972.phpt | 8 echo "SELECTING from invalid table\n"; 19 SELECTING from invalid table 21 Warning: SQLite3::query(): Unable to prepare statement: no such table: non_existent_table in %sbug6…
|
/php-src/ext/xsl/tests/ |
H A D | xsltprocessor_transformToXML.phpt | 28 <table> 35 </table> 56 <table> 59 </table>
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | hash.c | 87 if (hash->table != NULL) { in lexbor_hash_table_destroy() 88 return lexbor_free(hash->table); in lexbor_hash_table_destroy() 149 hash->table = lexbor_hash_table_create(hash); in lexbor_hash_init() 150 if (hash->table == NULL) { in lexbor_hash_init() 176 hash->table = lexbor_hash_table_destroy(hash); in lexbor_hash_destroy() 196 entry = hash->table[table_idx]; in lexbor_hash_insert() 200 hash->table[table_idx] = entry; in lexbor_hash_insert() 237 item = hash->table[table_idx]; in lexbor_hash_insert_by_entry() 240 hash->table[table_idx] = entry; in lexbor_hash_insert_by_entry() 291 entry = hash->table[table_idx]; in lexbor_hash_remove_by_hash_id() [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | 047.phpt | 56 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 69 ["table"]=> 98 ["table"]=> 129 ["table"]=> 157 ["table"]=> 187 ["table"]=> 215 ["table"]=>
|
/php-src/ext/gd/libgd/ |
H A D | gd_gif_in.c | 89 int table[2][(1<< MAX_LWZ_BITS)]; member 449 sd->table[0][i] = 0; in LWZReadByte_() 450 sd->table[1][i] = i; in LWZReadByte_() 453 sd->table[0][i] = sd->table[1][0] = 0; in LWZReadByte_() 473 sd->table[0][i] = 0; in LWZReadByte_() 474 sd->table[1][i] = i; in LWZReadByte_() 477 sd->table[0][i] = sd->table[1][i] = 0; in LWZReadByte_() 516 *sd->sp++ = sd->table[1][code]; in LWZReadByte_() 517 if (code == sd->table[0][code]) { in LWZReadByte_() 520 code = sd->table[0][code]; in LWZReadByte_() [all …]
|
/php-src/Zend/tests/ |
H A D | bug63976.phpt | 8 public $table = self::TABLE; 17 var_dump($bar->table);
|