/php-src/ext/sqlite3/tests/ |
H A D | sqlite3_defensive.phpt | 19 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 D | pdo_mysql_param_str_natl.phpt | 17 $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 D | pdomysql_002.phpt | 20 $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 D | bug_41997.phpt | 18 $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 D | bug70862.phpt | 15 $db->exec(sprintf('CREATE TABLE test_70862(id INT, label BLOB)')); 43 $db->exec('DROP TABLE IF EXISTS test_70862');
|
H A D | pdo_mysql_stmt_fetch_non_select.phpt | 76 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 D | bug66528.phpt | 18 $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 D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 21 …$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 D | pdo_mysql_local_infile_directory_denied.phpt | 18 $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 D | pecl_bug_5802.phpt | 15 $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 D | bug_50323.phpt | 43 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 D | bug_73087.phpt | 15 $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 D | bug_62024.phpt | 17 $dbh->exec("CREATE TABLE test62024 (ID INTEGER NOT NULL, TEXT VARCHAR(10))"); 46 @$dbh->exec("DROP TABLE test62024");
|
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/ext/pdo/tests/ |
H A D | pdo_013.phpt | 18 $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 D | bug_42917.phpt | 18 $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 D | pdo_test.inc | 79 "oci" => $db->exec(<<<SQL 90 "firebird" => @$db->exec("DROP TABLE $tableName"), 91 default => $db->exec("DROP TABLE IF EXISTS $tableName"),
|
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_39656.phpt | 21 $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 D | pdopgsql_002.phpt | 22 $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 D | bug60978.phpt | 5 exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . ' -n -r "exit(2);"', $output, $exit_code);
|
/php-src/ext/pdo_odbc/tests/ |
H A D | autocommit.phpt | 19 $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 D | exec.h | 21 PHP_MINIT_FUNCTION(exec);
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_print.h | 29 PHPDBG_PRINT(exec);
|
/php-src/sapi/cli/tests/ |
H A D | bug62294.phpt | 7 exec($php . ' -n ' . escapeshellarg(__DIR__ . '/bug62294.inc'), $output, $exit_status);
|