Home
last modified time | relevance | path

Searched refs:exec (Results 51 – 75 of 321) sorted by relevance

12345678910>>...13

/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug_pecl_12925.phpt18 $db->exec('DROP TABLE IF EXISTS test');
19 $db->exec('CREATE TABLE test(id CHAR(1))');
20 $db->exec("INSERT INTO test(id) VALUES ('a')");
42 $db->exec('DROP TABLE IF EXISTS test');
H A Dpdo_mysql_attr_max_buffer_size.phpt32 $db->exec('DROP TABLE IF EXISTS test');
33 $db->exec(sprintf('CREATE TABLE test(id INT, val LONGBLOB) ENGINE = %s', PDO_MYSQL_TEST_ENGINE));
36 $db->exec('INSERT INTO test(id, val) VALUES (1, REPEAT("01234567890", 10240))');
48 $db->exec('DROP TABLE IF EXISTS test');
70 $db->exec('DROP TABLE IF EXISTS test');
H A Dpdo_mysql_prepare_match_against.phpt16 $db->exec('DROP TABLE IF EXISTS test');
17 $db->exec('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
18 $db->exec('CREATE FULLTEXT INDEX idx1 ON test(label)');
45 $db->exec('DROP TABLE IF EXISTS test');
H A Dpdo_mysql_stmt_variable_columncount.phpt54 $db->exec('DROP PROCEDURE IF EXISTS p');
55 …$db->exec('CREATE PROCEDURE p(IN cols INT) BEGIN IF cols < 2 THEN SELECT cols AS "one"; ELSE SELEC…
85 $db->exec('DROP PROCEDURE IF EXISTS p');
86 …$db->exec('CREATE PROCEDURE p() BEGIN DECLARE cols INT; SELECT @numcols INTO cols; IF cols < 2 THE…
90 $db->exec('SET @numcols = 1');
96 $db->exec('SET @numcols = 1');
106 $db->exec('SET @numcols = 1');
112 $db->exec('SET @numcols = 1');
/PHP-7.4/ext/standard/tests/file/windows_links/
H A Dbug48746.phpt12 $ret = @exec($cmd, $output, $return_val);
27 $ret = exec($mountvol . " " . $drive . " /L", $output, $ret_val);
28 exec("mklink /j mounted_volume " . $ret, $output, $ret_val);
30 exec("mklink /j mklink_junction directory", $output, $ret_val);
H A Dbug48746_2.phpt19 exec("mkdir " . $dirname, $output, $ret_val);
23 $ret = exec($mountvol . " " . $drive . " /L", $output, $ret_val);
24 exec("mklink /j mounted_volume " . $ret, $output, $ret_val);
26 exec("mklink /j mklink_junction directory", $output, $ret_val);
H A Dbug48746_1.phpt12 $ret = @exec($cmd, $output, $return_val);
23 exec("mkdir " . $dirname, $output, $ret_val);
27 $ret = exec($mountvol . " " . $drive . " /L", $output, $ret_val);
28 exec("mklink /j mounted_volume " . $ret, $output, $ret_val);
30 exec("mklink /j mklink_junction directory", $output, $ret_val);
/PHP-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_attr_autocommit_3.phpt19 $dbh->exec("drop table pdo_ac_tab");
28 $dbh->exec("create table pdo_ac_tab (col1 varchar2(20))");
30 $dbh->exec("insert into pdo_ac_tab (col1) values ('some data')");
42 $dbh2->exec("drop table pdo_ac_tab");
/PHP-7.4/ext/pdo/tests/
H A Dpdo_027.phpt17 $db->exec('create table test (id int, name varchar(10))');
18 $db->exec("INSERT INTO test (id,name) VALUES(1,'test1')");
19 $db->exec("INSERT INTO test (id,name) VALUES(2,'test2')");
H A Dbug_52098.phpt17 @$db->exec("DROP TABLE test");
18 $db->exec("CREATE TABLE test (x int)");
19 $db->exec("INSERT INTO test VALUES (1)");
52 $db->exec("DROP TABLE test");
H A Dpdo_032.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
18 $db->exec("INSERT INTO test VALUES(1, 'A')");
19 $db->exec("INSERT INTO test VALUES(2, 'B')");
20 $db->exec("INSERT INTO test VALUES(3, 'C')");
/PHP-7.4/ext/sqlite3/tests/
H A Dbug73068.phpt14 $db->exec("CREATE TABLE IF NOT EXISTS t1(a INT UNIQUE, b INT)");
15 $db->exec("INSERT OR REPLACE INTO t1(a,b) VALUES('1','2')");
20 $db->exec("DELETE FROM t1 WHERE a='1' AND b='2'");
H A Dsqlite3_13_skip_all_cleanup.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_15_open_error-win.phpt12 $sysroot = exec('echo %systemroot%');
19 exec($cmd);
29 exec($cmd);
H A Dsqlite3_04_update.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
27 var_dump($db->exec("UPDATE test SET id = 'c' WHERE id = 'a'"));
H A Dsqlite3_05_delete.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
27 var_dump($db->exec("DELETE FROM test WHERE id = 'a'"));
/PHP-7.4/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_extendederror_attr.phpt11 $db->exec("CREATE TABLE dog ( id INTEGER PRIMARY KEY, name TEXT, annoying INTEGER )");
14 $db->exec("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
19 $result = $db->exec("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
27 $db->exec("CREATE TABLE dog ( id INTEGER PRIMARY KEY, name TEXT, annoying INTEGER )");
30 $result = $db->exec("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
35 $result = $db->exec("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
/PHP-7.4/Zend/tests/
H A Dcall_user_func_closure_from_static_method.phpt7 public static function exec(callable $c) {
12 return self::exec(function(){
/PHP-7.4/ext/standard/tests/file/
H A Dbug26938.phpt2 Bug #26938 (exec does not read consecutive long lines correctly)
9 exec($php . ' -n -r \''
16 exec($php . ' -n -r "'
H A Dbug41874_2.phpt2 bug #41874 (Separate STDOUT and STDERR in exec functions)
13 $result = exec('cd 1:\\non_existent; dir nonexistent');
/PHP-7.4/ext/pdo_odbc/tests/
H A Dbug80783.phpt13 $db->exec("CREATE TABLE bug80783 (name IMAGE)");
16 $db->exec("INSERT INTO bug80783 VALUES('$string')");
29 $db->exec("DROP TABLE bug80783");
H A Dbug80783a.phpt13 $db->exec("CREATE TABLE bug80783a (name NVARCHAR(MAX))");
16 $db->exec("INSERT INTO bug80783a VALUES('$string')");
30 $db->exec("DROP TABLE bug80783a");
/PHP-7.4/ext/pdo_firebird/tests/
H A Dbug_62024.phpt13 @$dbh->exec('DROP TABLE test_insert');
14 $dbh->exec("CREATE TABLE test_insert (ID INTEGER NOT NULL, TEXT VARCHAR(10))");
41 $dbh->exec('DROP TABLE test_insert');
H A Dbug_47415.phpt11 @$dbh->exec('DROP TABLE testz');
14 $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
15 $dbh->exec('INSERT INTO testz VALUES(0, \'String0\')');
/PHP-7.4/ext/standard/
H A Dexec.h23 PHP_FUNCTION(exec);
34 PHP_MINIT_FUNCTION(exec);

Completed in 24 milliseconds

12345678910>>...13