/php-src/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_parser.phpt | 15 $db->exec("CREATE TABLE {$table} (`a``?` int NOT NULL)"); 16 $db->exec("INSERT INTO {$table} VALUES (1)");
|
/php-src/ext/pdo/tests/ |
H A D | pdo_014.phpt | 18 $db->exec('CREATE TABLE test014(id int NOT NULL PRIMARY KEY, val VARCHAR(10), grp VARCHAR(10))'); 19 $db->exec("INSERT INTO test014 VALUES(1, 'A', 'Group1')"); 20 $db->exec("INSERT INTO test014 VALUES(2, 'B', 'Group2')");
|
H A D | bug_52098.phpt | 18 $db->exec("CREATE TABLE test52098 (x int)"); 19 $db->exec("INSERT INTO test52098 VALUES (1)");
|
H A D | pdo_011.phpt | 18 $db->exec('CREATE TABLE test011(id int NOT NULL PRIMARY KEY, val VARCHAR(10), grp VARCHAR(10))'); 19 $db->exec("INSERT INTO test011 VALUES(1, 'A', 'Group1')"); 20 $db->exec("INSERT INTO test011 VALUES(2, 'B', 'Group1')"); 21 $db->exec("INSERT INTO test011 VALUES(3, 'C', 'Group2')"); 22 $db->exec("INSERT INTO test011 VALUES(4, 'D', 'Group2')");
|
H A D | bug_71885.phpt | 22 $db->exec("CREATE TABLE test71885 (a int)"); 27 $db->exec($sql);
|
H A D | bug_38253.phpt | 18 $pdo->exec ("create table test38253 (id integer primary key, n varchar(255))"); 19 $pdo->exec ("INSERT INTO test38253 (id, n) VALUES (1, 'hi')");
|
H A D | bug_44409.phpt | 18 $db->exec("CREATE TABLE test44409 (dat varchar(100))"); 19 $db->exec("INSERT INTO test44409 (dat) VALUES ('Data from DB')");
|
H A D | pdo_016.phpt | 23 $db->exec('CREATE TABLE test016(idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))'); 24 $db->exec("INSERT INTO test016 VALUES(0, 'String0')"); 25 $db->exec("INSERT INTO test016 VALUES(1, 'String1')"); 26 $db->exec("INSERT INTO test016 VALUES(2, 'String2')");
|
/php-src/ext/pdo_firebird/tests/ |
H A D | gh10908.phpt | 33 $dbh->exec($sql); 34 $dbh->exec("INSERT INTO gh10908 VALUES(1, 'ABC', 12.34, 1.0, 2.0, '2023-03-24 17:39', '2023-03-24',… 62 @$dbh->exec("DROP TABLE gh10908");
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_print.h | 29 PHPDBG_PRINT(exec);
|
H A D | phpdbg_prompt.c | 398 PHPDBG_COMMAND(exec) /* {{{ */ in PHPDBG_COMMAND() argument 415 if (PHPDBG_G(exec)) { in PHPDBG_COMMAND() 417 free(PHPDBG_G(exec)); in PHPDBG_COMMAND() 418 PHPDBG_G(exec) = NULL; in PHPDBG_COMMAND() 427 PHPDBG_G(exec) = res; in PHPDBG_COMMAND() 525 if (PHPDBG_G(exec)) { in phpdbg_compile_stdin() 526 free(PHPDBG_G(exec)); in phpdbg_compile_stdin() 560 if (!PHPDBG_G(exec)) { in phpdbg_compile() 1104 phpdbg_writeln("Exec %s", PHPDBG_G(exec) ? PHPDBG_G(exec) : "none"); in PHPDBG_COMMAND() 1137 if (PHPDBG_G(exec)) { in PHPDBG_COMMAND() [all …]
|
/php-src/sapi/cli/tests/ |
H A D | bug62294.phpt | 7 exec($php . ' -n ' . escapeshellarg(__DIR__ . '/bug62294.inc'), $output, $exit_status);
|
H A D | bug65275.phpt | 7 exec($php . ' ' . escapeshellarg(__DIR__ . '/bug65275.inc'), $output, $exit_status);
|
/php-src/ext/sqlite3/tests/ |
H A D | sqlite3_40_setauthorizer.phpt | 33 var_dump($db->exec('CREATE TABLE test (a); INSERT INTO test VALUES (42);')); 45 var_dump($db->exec('SELECT * FROM test WHERE a = 42;')); 46 var_dump($db->exec('DROP TABLE test;'));
|
/php-src/ext/pdo_mysql/tests/ |
H A D | gh11587.phpt | 25 $db->exec($createTestTable); 31 $db->exec($insertTestTable); 79 $db->exec('DROP TABLE IF EXISTS test_11587');
|
H A D | pdo_mysql_prepare_emulated_placeholder_everywhere.phpt | 22 …$db->exec(sprintf('CREATE TABLE test_prepare_emulated_placeholder_everywhere(id INT, label CHAR(25… 23 …$db->exec("INSERT INTO test_prepare_emulated_placeholder_everywhere(id, label) VALUES (1, 'row1')"… 61 $db->exec('DROP TABLE IF EXISTS test_prepare_emulated_placeholder_everywhere');
|
H A D | pdo_mysql_exec_select.phpt | 2 MySQL PDO->exec(), SELECT 14 $ret = $db->exec($sql); 60 Warning: PDO::exec(): SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuf…
|
H A D | pdo_mysql_begintransaction.phpt | 29 if (0 == $db->exec("DELETE FROM {$table}")) 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']))) 134 $db->exec('SET @@autocommit = 0'); 161 if (0 == $db->exec("DELETE FROM {$table}")) 171 if (0 == $db->exec("INSERT INTO {$table} (id, label) VALUES (1, 'a')")) 181 if (1 != $db->exec("DELETE FROM {$table}"))
|
H A D | pdo_mysql_stmt_getcolumnmeta.phpt | 16 $db->exec('CREATE TABLE test_stmt_getcolumnmeta(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=Inno… 17 $db->exec("INSERT INTO test_stmt_getcolumnmeta(id, label) VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, … 59 $db->exec('DROP TABLE IF EXISTS test_stmt_getcolumnmeta'); 67 …if (!$db->exec(sprintf("INSERT INTO test_stmt_getcolumnmeta(id, label) VALUES (1, '%s')", $value))… 223 $db->exec('DROP TABLE IF EXISTS test_stmt_getcolumnmeta'); 226 $db->exec('INSERT INTO test_stmt_getcolumnmeta(id, label) VALUES (1, 2)'); 244 $db->exec('DROP TABLE IF EXISTS test_stmt_getcolumnmeta'); 247 $db->exec('INSERT INTO test_stmt_getcolumnmeta(id) VALUES (1)'); 265 $db->exec('DROP TABLE IF EXISTS test_stmt_getcolumnmeta'); 268 $db->exec('INSERT INTO test_stmt_getcolumnmeta(id, label1, label2) VALUES (1, 2, 3)'); [all …]
|
H A D | pdo_mysql_prepare_native_dup_named_placeholder.phpt | 17 …$db->exec(sprintf('CREATE TABLE test_prepare_native_dup_named(id INT, label1 CHAR(255), label2 CHA… 61 $db->exec('DELETE FROM test_prepare_native_dup_named'); 62 …$db->exec("INSERT INTO test_prepare_native_dup_named (id, label1, label2) VALUES (1, 'row1', 'row2… 98 $db->exec('DROP TABLE IF EXISTS test_prepare_native_dup_named');
|
H A D | pdo_mysql_stmt_blobs.phpt | 28 $db->exec('DROP TABLE IF EXISTS test_stmt_blobs'); 29 …$db->exec(sprintf('CREATE TABLE test_stmt_blobs(id INT, label %s) ENGINE=%s', $sql_type, PDO_MYSQL… 102 $db->exec('DROP TABLE IF EXISTS test_stmt_blobs');
|
H A D | pdo_mysql_prepare_emulated_anonymous.phpt | 20 …$db->exec(sprintf('CREATE TABLE test_prepare_emulated_anonymous(id INT, label CHAR(255)) ENGINE=%s… 40 $db->exec('DELETE FROM test_prepare_emulated_anonymous'); 64 $db->exec('DROP TABLE IF EXISTS test_prepare_emulated_anonymous');
|
H A D | pdo_mysql_exec.phpt | 2 MySQL PDO->exec(), affected rows 14 $ret = $db->exec($sql); 151 …$tmp = $db->exec(sprintf('DROP TABLE IF EXISTS test_mysql_exec; CREATE TABLE test_mysql_exec(id IN… 159 …$tmp = $db->exec('INSERT INTO test_mysql_exec(id) VALUES (1); INSERT INTO test_mysql_exec(id) VALU… 160 …printf("[035] With emulated PS it works but makes no sense given that exec() returns sort of affec… 179 Warning: PDO::exec(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in … 181 [035] With emulated PS it works but makes no sense given that exec() returns sort of affected rows.…
|
/php-src/ext/standard/tests/file/ |
H A D | bug41874_1.phpt | 2 bug #41874 (Separate STDOUT and STDERR in exec functions)
|
H A D | bug41874_3.phpt | 2 bug #41874 (Separate STDOUT and STDERR in exec functions)
|