/PHP-8.0/ext/sqlite3/tests/ |
H A D | sqlite3stmt_paramCount_basic.phpt | 11 var_dump($db->exec('CREATE TABLE foobar (id INTEGER, name STRING, city STRING)')); 14 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (1, 'john', 'LA')")); 15 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (2, 'doe', 'SF')"));
|
H A D | sqlite3_defensive.phpt | 17 var_dump($db->exec('CREATE TABLE test (a, b);')); 20 var_dump($db->exec('PRAGMA writable_schema = ON;'));
|
/PHP-8.0/ext/pdo/tests/ |
H A D | pdo_012.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), grp VARCHAR(10))'); 18 $db->exec('INSERT INTO test VALUES(1, \'A\', \'Group1\')'); 19 $db->exec('INSERT INTO test VALUES(2, \'B\', \'Group2\')');
|
H A D | bug_36428.phpt | 18 $db->exec("CREATE TABLE test (a VARCHAR(10))"); 19 $db->exec("INSERT INTO test (a) VALUES ('xyz')");
|
H A D | pdo_005.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(10))'); 18 $db->exec("INSERT INTO test VALUES(1, 'A', 'AA')"); 19 $db->exec("INSERT INTO test VALUES(2, 'B', 'BB')"); 20 $db->exec("INSERT INTO test VALUES(3, 'C', 'CC')");
|
H A D | bug_42917.phpt | 17 $db->exec("CREATE TABLE test (a varchar(100), b varchar(100), c varchar(100))"); 20 $db->exec("INSERT INTO test (a,b,c) VALUES('test".$i."','".$i."','".$i."')");
|
H A D | pdo_013.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), grp VARCHAR(10))'); 18 $db->exec('INSERT INTO test VALUES(1, \'A\', \'Group1\')'); 19 $db->exec('INSERT INTO test VALUES(2, \'B\', \'Group2\')');
|
H A D | pdo_015.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(20))'); 18 $db->exec('INSERT INTO test VALUES(1, \'A\', \'A2\')'); 19 $db->exec('INSERT INTO test VALUES(2, \'A\', \'B2\')');
|
H A D | pdo_035.phpt | 10 $db->exec('CREATE TABLE test (id int)'); 11 $db->exec('INSERT INTO test VALUES (23)');
|
H A D | bug_44409.phpt | 17 $db->exec("CREATE TABLE test (dat varchar(100))"); 18 $db->exec("INSERT INTO test (dat) VALUES ('Data from DB')");
|
H A D | pdo_033.phpt | 24 @$db->exec("DROP TABLE test"); 34 $db->exec("DROP TABLE test");
|
/PHP-8.0/ext/pdo_odbc/tests/ |
H A D | max_columns.phpt | 15 if (false === $db->exec('CREATE TABLE TEST (id INT NOT NULL PRIMARY KEY, data varchar(max))')) { 16 if (false === $db->exec('CREATE TABLE TEST (id INT NOT NULL PRIMARY KEY, data longtext)')) { 17 if (false === $db->exec('CREATE TABLE TEST (id INT NOT NULL PRIMARY KEY, data CLOB)')) {
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_multi_statements.phpt | 23 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table)); 25 $db->exec($create); 26 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table)); 51 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
|
H A D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 19 $db->exec('DROP TABLE IF EXISTS test'); 20 … $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE)); 21 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')"); 66 $db->exec('DROP TABLE IF EXISTS test');
|
H A D | pdo_mysql_prepare_emulated_placeholder_everywhere.phpt | 21 $db->exec('DROP TABLE IF EXISTS test'); 22 … $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE)); 23 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')"); 61 $db->exec('DROP TABLE IF EXISTS test');
|
H A D | pdo_mysql_commit.phpt | 24 $db->exec(sprintf('DROP TABLE IF EXISTS test_commit')); 25 …$db->exec(sprintf('CREATE TABLE test_commit(id INT) ENGINE=%s', MySQLPDOTest::detect_transactional… 45 $db->exec("INSERT INTO test(id, label) VALUES (100, 'z')"); 67 $db->exec("INSERT INTO test(id, label) VALUES (100, 'z')"); 91 $db->exec('DROP TABLE IF EXISTS test_commit');
|
H A D | bug_41698.phpt | 18 $db->exec('CREATE TABLE test(floatval DECIMAL(8,6))'); 19 $db->exec('INSERT INTO test VALUES(2.34)');
|
H A D | bug_pecl_7976.phpt | 28 $db->exec('DROP PROCEDURE IF EXISTS p'); 29 $db->exec('CREATE PROCEDURE p() BEGIN SELECT "1" AS _one; END;'); 57 $db->exec('DROP PROCEDURE IF EXISTS p');
|
H A D | pecl_bug_5200.phpt | 15 $db->exec("CREATE TABLE test (bar INT NOT NULL, phase enum('please_select', 'I', 'II', 'IIa', 'IIb'… 25 $db->exec('DROP TABLE IF EXISTS test');
|
H A D | pdo_mysql_exec_select.phpt | 2 MySQL PDO->exec(), SELECT 15 $ret = $db->exec($sql); 60 @$db->exec('DROP TABLE IF EXISTS test'); 63 Warning: PDO::exec(): SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuf…
|
H A D | pdo_mysql_prepare_emulated_anonymous.phpt | 20 $db->exec('DROP TABLE IF EXISTS test'); 21 … $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE)); 41 $db->exec('DELETE FROM test'); 65 $db->exec('DROP TABLE IF EXISTS test');
|
/PHP-8.0/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_open_flags.phpt | 13 var_dump($db->exec('CREATE TABLE test1 (id INT);')); 17 var_dump($db->exec('CREATE TABLE test2 (id INT);'));
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | bug81145.phpt | 11 exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src), $output, $status); 24 exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src)); 26 exec("fsutil file createnew " . escapeshellarg($src) . " " . (SIZE_4G-0x100));
|
/PHP-8.0/ext/phar/tests/tar/ |
H A D | bug70417.phpt | 8 exec('lsof -p ' . getmypid(), $out, $status); 19 …exec('lsof -p ' . escapeshellarg(getmypid()) . ' 2> /dev/null', $out); // Note: valgrind can prod…
|
/PHP-8.0/ext/pdo_pgsql/tests/ |
H A D | bug69362.phpt | 22 $db->exec("DROP USER IF EXISTS $user"); 23 $db->exec("CREATE USER $user WITH PASSWORD '$pass'"); 35 $db->exec("DROP USER $user");
|