Home
last modified time | relevance | path

Searched refs:exec (Results 151 – 175 of 378) sorted by relevance

12345678910>>...16

/php-src/ext/sqlite3/tests/
H A Dsqlite3_defensive.phpt19 var_dump($db->exec('CREATE TABLE test (a, b);'));
22 var_dump($db->exec('PRAGMA writable_schema = ON;'));
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_param_str_natl.phpt17 $db->exec('CREATE TABLE test_param_str_natl (bar NCHAR(4) NOT NULL)');
32 $db->exec('DROP TABLE IF EXISTS test_param_str_natl');
H A Dpdomysql_002.phpt20 $db->exec('CREATE TABLE pdomysql_002(id INT NOT NULL PRIMARY KEY, name VARCHAR(10))');
21 $db->exec("INSERT INTO pdomysql_002 VALUES(1, 'A'), (2, 'B'), (3, 'C')");
H A Dbug_41997.phpt18 $db->exec("CREATE PROCEDURE {$procedure}() BEGIN SELECT 1 AS 'one'; END");
35 $db->exec("DROP PROCEDURE IF EXISTS bug_41997_pdo_mysql_p");
H A Dbug70862.phpt15 $db->exec(sprintf('CREATE TABLE test_70862(id INT, label BLOB)'));
43 $db->exec('DROP TABLE IF EXISTS test_70862');
H A Dpdo_mysql_stmt_fetch_non_select.phpt76 if ($db->exec("PREPARE mystmt FROM 'DESCRIBE {$table} id'")) {
78 $db->exec('DEALLOCATE PREPARE mystmt');
110 if ($db->exec("PREPARE mystmt FROM 'SHOW ENGINES'")) {
112 $db->exec('DEALLOCATE PREPARE mystmt');
143 if ($db->exec("PREPARE mystmt FROM 'EXPLAIN SELECT id FROM {$table}'")) {
145 $db->exec('DEALLOCATE PREPARE mystmt');
192 $db->exec('DROP TABLE IF EXISTS pdo_mysql_stmt_fetch_non_select');
H A Dbug66528.phpt18 $dbh->exec('CREATE TABLE test_66528 (a INT) ENGINE=InnoDB');
20 $dbh->exec('INSERT INTO test_66528 (a) VALUES (1), (2)');
46 $db->exec('DROP TABLE IF EXISTS test_66528');
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt21 …$db->exec(sprintf('CREATE TABLE test_prepare_native_named_placeholder_everywhere(id INT, label CHA…
22 …$db->exec("INSERT INTO test_prepare_native_named_placeholder_everywhere(id, label) VALUES (1, 'row…
58 $db->exec('DROP TABLE IF EXISTS test_prepare_native_named_placeholder_everywhere');
H A Dpdo_mysql_local_infile_directory_denied.phpt18 $ret = $db->exec($sql);
70 $db->exec('DROP TABLE IF EXISTS test_local_inifile_dir_denied');
73 Warning: PDO::exec(): SQLSTATE[HY000]: General error: 2068 LOAD DATA LOCAL INFILE %s in %s on line …
H A Dpecl_bug_5802.phpt15 $db->exec('create table test_pcl_bug_5802 ( bar char(3) NULL )');
41 $db->exec('DROP TABLE IF EXISTS test_pcl_bug_5802');
H A Dbug_50323.phpt43 if (1 === @$db->exec('CREATE DATABASE `crazy;dbname`')) {
57 $db->exec('DROP DATABASE IF EXISTS `crazy;dbname`');
/php-src/ext/pdo_firebird/tests/
H A Dbug_73087.phpt15 $dbh->exec('recreate table test73087 (id integer not null, content blob sub_type 1 segment size 80)…
34 @$dbh->exec("DROP TABLE test73087");
H A Dbug_62024.phpt17 $dbh->exec("CREATE TABLE test62024 (ID INTEGER NOT NULL, TEXT VARCHAR(10))");
46 @$dbh->exec("DROP TABLE test62024");
H A Dgh10908.phpt33 $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/ext/pdo/tests/
H A Dpdo_013.phpt18 $db->exec('CREATE TABLE test013(id int NOT NULL PRIMARY KEY, val VARCHAR(10), grp VARCHAR(10))');
19 $db->exec("INSERT INTO test013 VALUES(1, 'A', 'Group1')");
20 $db->exec("INSERT INTO test013 VALUES(2, 'B', 'Group2')");
H A Dbug_42917.phpt18 $db->exec("CREATE TABLE test42917 (a varchar(100), b varchar(100), c varchar(100))");
21 $db->exec("INSERT INTO test42917 (a,b,c) VALUES('test".$i."','".$i."','".$i."')");
H A Dpdo_test.inc79 "oci" => $db->exec(<<<SQL
90 "firebird" => @$db->exec("DROP TABLE $tableName"),
91 default => $db->exec("DROP TABLE IF EXISTS $tableName"),
H A Dpdo_014.phpt18 $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 Dbug_39656.phpt21 $db->exec("CREATE TABLE test39656 (id INTEGER NOT NULL PRIMARY KEY, usr VARCHAR( 256 ) NOT NULL)");
22 $db->exec("INSERT INTO test39656 (id, usr) VALUES (1, 'user')");
/php-src/ext/pdo_pgsql/tests/
H A Dpdopgsql_002.phpt22 $db->exec('CREATE TABLE pdopgsql_002(id INT NOT NULL PRIMARY KEY, name VARCHAR(10))');
23 $db->exec("INSERT INTO pdopgsql_002 VALUES(1, 'A'), (2, 'B'), (3, 'C')");
/php-src/Zend/tests/
H A Dbug60978.phpt5 exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . ' -n -r "exit(2);"', $output, $exit_code);
/php-src/ext/pdo_odbc/tests/
H A Dautocommit.phpt19 $db->exec("CREATE TABLE {$table} (id INT, name VARCHAR(255))");
41 $db->exec("DROP TABLE IF EXISTS autocommit_pdo_odbc");
/php-src/ext/standard/
H A Dexec.h21 PHP_MINIT_FUNCTION(exec);
/php-src/sapi/phpdbg/
H A Dphpdbg_print.h29 PHPDBG_PRINT(exec);
/php-src/sapi/cli/tests/
H A Dbug62294.phpt7 exec($php . ' -n ' . escapeshellarg(__DIR__ . '/bug62294.inc'), $output, $exit_status);

Completed in 90 milliseconds

12345678910>>...16