Home
last modified time | relevance | path

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

12345678910>>...13

/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_print.h31 PHPDBG_PRINT(exec);
/PHP-7.4/ext/pdo/tests/
H A Dpdo_014.phpt17 $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 Dpdo_011.phpt17 $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\', \'Group1\')');
20 $db->exec('INSERT INTO test VALUES(3, \'C\', \'Group2\')');
21 $db->exec('INSERT INTO test VALUES(4, \'D\', \'Group2\')');
H A Dbug_38253.phpt17 $pdo->exec ("create table test (id integer primary key, n varchar(255))");
18 $pdo->exec ("INSERT INTO test (id, n) VALUES (1, 'hi')");
H A Dbug_71885.phpt20 $db->exec("CREATE TABLE test (a int)");
25 $db->exec($sql);
H A Dbug_65946.phpt17 $db->exec('CREATE TABLE test(id int)');
18 $db->exec('INSERT INTO test VALUES(1)');
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug66528.phpt18 $dbh->exec('DROP TABLE IF EXISTS test');
19 $dbh->exec('CREATE TABLE test (a int) engine=innodb');
21 $dbh->exec('INSERT INTO test (a) VALUES (1), (2)');
H A Dpdo_mysql_prepare_native_clear_error.phpt17 $db->exec('DROP TABLE IF EXISTS test');
18 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
26 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
75 $db->exec('DROP TABLE IF EXISTS test');
H A Dpdo_mysql_begintransaction.phpt28 if (0 == $db->exec('DELETE FROM test'))
45 if (1 !== $db->exec(sprintf('DELETE FROM test WHERE id = %d', $row['id'])))
62 $db->exec(sprintf("INSERT INTO test(id, label) VALUES (%d, 'z')", $row['id']));
86 if (1 !== $db->exec(sprintf('DELETE FROM test WHERE id = %d', $row['id'])))
132 $db->exec('SET @@autocommit = 0');
159 if (0 == $db->exec('DELETE FROM test'))
169 if (0 == $db->exec("INSERT INTO test(id, label) VALUES (1, 'a')"))
179 if (1 != $db->exec('DELETE FROM test'))
H A Dpdo_mysql_exec.phpt2 MySQL PDO->exec(), affected rows
15 $ret = $db->exec($sql);
154 …$tmp = @$db->exec(sprintf('DROP TABLE IF EXISTS test; CREATE TABLE test(id INT) ENGINE=%s', PDO_MY…
162 $tmp = @$db->exec('INSERT INTO test(id) VALUES (1); INSERT INTO test(id) VALUES (2)');
163 …printf("[035] With emulated PS it works but makes no sense given that exec() returns sort of affec…
179 @$db->exec('DROP TABLE IF EXISTS test');
182 Warning: PDO::exec(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in …
184 [035] With emulated PS it works but makes no sense given that exec() returns sort of affected rows.…
H A Dpecl_bug_5802.phpt15 $db->exec('create table test ( bar char(3) NULL )');
41 $db->exec('DROP TABLE IF EXISTS test');
H A Dbug63185.phpt17 $pdo->exec('DROP PROCEDURE IF EXISTS test_procedure_error_at_second');
18 $pdo->exec('CREATE PROCEDURE test_procedure_error_at_second ()
H A Dpdo_mysql_stmt_blobs.phpt27 $db->exec('DROP TABLE IF EXISTS test');
28 …$db->exec(sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, PDO_MYSQL_TEST_ENGIN…
95 $db->exec('DROP TABLE IF EXISTS test');
H A Dpdo_mysql_stmt_fetch_non_select.phpt73 if ($db->exec("PREPARE mystmt FROM 'DESCRIBE test id'")) {
75 $db->exec('DEALLOCATE PREPARE mystmt');
107 if ($db->exec("PREPARE mystmt FROM 'SHOW ENGINES'")) {
109 $db->exec('DEALLOCATE PREPARE mystmt');
140 if ($db->exec("PREPARE mystmt FROM 'EXPLAIN SELECT id FROM test'")) {
142 $db->exec('DEALLOCATE PREPARE mystmt');
H A Dbug_33689.phpt16 $db->exec('CREATE TABLE test (bar INT NOT NULL)');
17 $db->exec('INSERT INTO test VALUES(1)');
H A Dbug_41997.phpt27 $db->exec('DROP PROCEDURE IF EXISTS p');
28 $db->exec('CREATE PROCEDURE p() BEGIN SELECT 1 AS "one"; END');
H A Dbug_50323.phpt43 if (1 === @$db->exec('CREATE DATABASE `crazy;dbname`')) {
57 @$db->exec('DROP DATABASE IF EXISTS `crazy;dbname`');
/PHP-7.4/Zend/tests/
H A Dbug60978.phpt12 exec($php . ' -n -r "exit(2);"', $output, $exit_code);
/PHP-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_quote1.phpt15 @$db->exec("drop table poq_tab");
30 $db->exec("delete from poq_tab");
39 @$db->exec("drop table poq_tab");
H A Dpdo_oci_fread_1.phpt31 $dbh->exec($stmt);
54 $dbh->exec($stmt);
H A Dbug46274.phpt19 $db->exec("DROP TABLE test_one_blob");
56 $db->exec("DROP TABLE test_one_blob");
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug62479.phpt22 $db->exec("DROP USER IF EXISTS $user");
23 $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
35 $db->exec("DROP USER $user");
H A Dbug_33876.phpt16 $db->exec("SET LC_MESSAGES='C'");
17 $db->exec('CREATE TABLE test (foo varchar(5) NOT NULL, bar bool NOT NULL)');
18 $db->exec("INSERT INTO test VALUES('false','f')");
19 $db->exec("INSERT INTO test VALUES('true', 't')");
/PHP-7.4/ext/standard/tests/file/
H A Dbug41874_1.phpt2 bug #41874 (Separate STDOUT and STDERR in exec functions)
H A Dbug41874_3.phpt2 bug #41874 (Separate STDOUT and STDERR in exec functions)

Completed in 40 milliseconds

12345678910>>...13