/PHP-7.4/ext/standard/tests/file/windows_mb_path/ |
H A D | util.inc | 108 function remove_data($id, $dir = NULL) 111 $dir = dirname(__FILE__) . DIRECTORY_SEPARATOR . $id; 119 remove_data($id, $dir . DIRECTORY_SEPARATOR . $object); 129 function create_data($id, $item = "", $cp = 65001, $utf8 = true) 134 return create_data_from_utf8($id, $item, $cp); 137 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . $id; 143 if (0 === strpos($id, "dir")) { 145 } else if (0 === strpos($id, "file")) {
|
/PHP-7.4/ext/session/tests/ |
H A D | session_module_name_variation2.phpt | 20 function read($id) { } 21 function write($id, $session_data) { } 22 function destroy($id) { }
|
H A D | bug80889.phpt | 16 public function read($id) { 19 public function write($id, $data) { 22 public function destroy($id) {
|
H A D | session_id_error2.phpt | 11 * Prototype : string session_id([string $id]) 12 * Description : Get and/or set the current session id 38 Warning: session_id(): Cannot change session id when session is active in %s on line %d
|
/PHP-7.4/ext/sqlite3/tests/ |
H A D | bug66550.phpt | 12 $db->exec('CREATE TABLE foo (id INTEGER, bar STRING)'); 14 $stmt = $db->prepare('SELECT bar FROM foo WHERE id=:id');
|
H A D | sqlite3_11_numrows.phpt | 19 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)')); 22 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')")); 23 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')")); 26 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3_24_last_insert_rowid.phpt | 12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)')); 15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')")); 17 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
|
/PHP-7.4/ext/pdo/tests/ |
H A D | bug_34630.phpt | 21 $db->exec('CREATE TABLE test (id int NOT NULL PRIMARY KEY, val BLOB)'); 23 $db->exec('CREATE TABLE test (id int NOT NULL PRIMARY KEY, val VARCHAR(256))'); 36 …$insert = $db->prepare("insert into test (id, val) values (1, EMPTY_BLOB()) RETURNING val INTO :bl… 38 $insert = $db->prepare("insert into test (id, val) values (1, :blob)"); 52 ["id"]=>
|
H A D | pdo_031.phpt | 24 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))'); 48 | |-10 [id] 52 | |-20 [id] 56 |-30 [id]
|
H A D | bug_39656.phpt | 21 $db->exec("CREATE TABLE test (id INTEGER NOT NULL PRIMARY KEY, usr VARCHAR( 256 ) NOT NULL)"); 22 $db->exec("INSERT INTO test (id, usr) VALUES (1, 'user')"); 24 $stmt = $db->prepare("SELECT * FROM test WHERE id = ?"); 40 ["id"]=>
|
H A D | pecl_bug_5772.phpt | 17 $db->exec("CREATE TABLE test (id int NOT NULL, PRIMARY KEY (id))"); 18 $db->exec("INSERT INTO test (id) VALUES (1)");
|
/PHP-7.4/ext/pdo_odbc/tests/ |
H A D | max_columns.phpt | 13 if (false === $db->exec('CREATE TABLE TEST (id INT NOT NULL PRIMARY KEY, data varchar(max))')) { 14 if (false === $db->exec('CREATE TABLE TEST (id INT NOT NULL PRIMARY KEY, data longtext)')) { 15 if (false === $db->exec('CREATE TABLE TEST (id INT NOT NULL PRIMARY KEY, data CLOB)')) { 33 foreach ($db->query('SELECT id, data from TEST') as $row) { 36 echo "Failed on size $row[id]:\n";
|
/PHP-7.4/ext/oci8/tests/ |
H A D | pecl_bug8816.phpt | 13 $create_1 = "CREATE TABLE t1 (id INTEGER, l1 LONG)"; 14 $create_2 = "CREATE TABLE t2 (id INTEGER, l2 LONG)"; 51 t1.id = t2.id 52 ORDER BY t1.id ASC
|
H A D | lob_011.phpt | 15 ".$schema.$table_name." (id, blob) 30 ".$schema.$table_name." (id, blob) 43 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 1"; 49 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 2 FOR UPDATE"; 60 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 2 FOR UPDATE";
|
H A D | cursors_old.phpt | 17 "create table cursors_old_tab (id number, value number)", 18 "insert into cursors_old_tab (id, value) values (1,1)", 19 "insert into cursors_old_tab (id, value) values (1,1)", 20 "insert into cursors_old_tab (id, value) values (1,1)",
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | bug78152.phpt | 16 var_dump($db->exec("INSERT INTO test(id, label) VALUES (41, 'x'); INSERT INTO test_bad(id, label) V… 19 …var_dump($db->exec("INSERT INTO test(id, label) VALUES (42, 'x'); INSERT INTO test_bad(id, label) …
|
H A D | pdo_mysql_stmt_blobfromsteam.phpt | 56 $sql = sprintf('CREATE TABLE test(id INT, label BLOB) ENGINE=%s', PDO_MYSQL_TEST_ENGINE); 59 if (!$stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)')) { 71 $id = 1; 72 $stmt->bindParam(1, $id); 86 $stmt2 = $db->query('SELECT id, label FROM test WHERE id = 1'); 98 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)'); 99 $stmt->bindParam(1, $id); 104 $stmt2 = $db->query('SELECT id, label FROM test WHERE id = 1');
|
H A D | pdo_mysql_prepare_native_named_placeholder.phpt | 18 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE)); 25 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES (100, ':placeholder')"); 38 $stmt = $db->prepare('SELECT id, label FROM test'); 48 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES(101, ':placeholder')"); 58 $stmt = $db->prepare('SELECT id, label FROM test ORDER BY id'); 86 ["id"]=>
|
H A D | pdo_mysql_stmt_rowcount.phpt | 17 if (0 !== ($tmp = $db->query('SELECT id FROM test WHERE 1 = 0')->rowCount())) 20 if (1 !== ($tmp = $db->query('SELECT id FROM test WHERE id = 1')->rowCount()))
|
/PHP-7.4/ext/pdo_oci/tests/ |
H A D | pdo_oci_stream_2a.phpt | 21 $query = "create table pdo_oci_stream_2 (id number, data1 blob, data2 blob)"; 25 function do_insert($db, $id, $data1, $data2) 28 …$stmt = $db->prepare("insert into pdo_oci_stream_2 (id, data1, data2) values (:id, empty_blob(), e… 29 $stmt->bindParam(':id', $id);
|
/PHP-7.4/ext/tidy/tests/ |
H A D | 012.phpt | 51 ["id"]=> 72 ["id"]=> 96 ["id"]=> 119 ["id"]=> 144 ["id"]=> 185 ["id"]=> 224 ["id"]=> 269 ["id"]=> 328 ["id"]=> 367 ["id"]=> [all …]
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | bug42378.phpt | 25 $sql = sprintf("CREATE TABLE test(id INT AUTO_INCREMENT PRIMARY KEY, col1 %s) ENGINE=%s", 38 $sql = sprintf("INSERT INTO test(id, col1) VALUES (%d, %f)", 168 test_format($link, 'id AS order_by_col, FORMAT(col1, 0)', 'test', 'id', $expected, 120); 173 test_format($link, 'id AS order_by_col, FORMAT(col1, 0)', 'test', 'id', $expected, 140); 178 test_format($link, 'id AS order_by_col, FORMAT(col1, 0)', 'test', 'id', $expected, 160); 191 id AS order_by_col, FORMAT(col1, 0) 193 id AS order_by_col, FORMAT(col1, 0) 195 id AS order_by_col, FORMAT(col1, 0)
|
H A D | mysqli_connect_twice.phpt | 18 …printf("[002] Cannot determine thread id, test will fail, [%d] %s\n", mysqli_errno($link), mysqli_… 27 …printf("[005] Expecting new connection and new thread id. Old thread id %d, new thread id %d\n", $… 43 …printf("[008] Cannot determine thread id, test will fail, [%d] %s\n", mysqli_errno($link), mysqli_… 52 …printf("[011] Expecting new connection and new thread id. Old thread id %d, new thread id %d\n", $…
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_column_object_cast.phpt | 10 function __toString() { return 'id'; } 26 'id' => $value, 31 'id' => 3245,
|
/PHP-7.4/Zend/tests/ |
H A D | bug39297.phpt | 34 $id = 'Test'; 38 $root[$id] = $child; 40 var_dump(compareByRef($root[$id], $child));
|