Home
last modified time | relevance | path

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

12345678910>>...16

/php-src/ext/curl/tests/
H A Dcurl_copy_handle_basic_004.phpt2 Test curl_copy_handle() after exec()
14 echo '*** Test curl_copy_handle() after exec() ***' . "\n";
34 *** Test curl_copy_handle() after exec() ***
/php-src/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_filename_uri.phpt11 var_dump($db->exec('CREATE TABLE test_sqlite_filename_uri (id INT);'));
16 var_dump($db->exec('SELECT * from test_sqlite_filename_uri'));
23 var_dump($db->exec('CREATE TABLE test_sqlite_filename_uri (id INT);'));
30 var_dump($db->exec('CREATE TABLE test_sqlite_filename_uri_2 (id INT);'));
H A Dpdo_sqlite_extendederror_attr.phpt12 $db->exec("CREATE TABLE dog ( id INTEGER PRIMARY KEY, name TEXT, annoying INTEGER )");
15 $db->exec("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
20 $result = $db->exec("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
29 $db->exec("CREATE TABLE dog ( id INTEGER PRIMARY KEY, name TEXT, annoying INTEGER )");
32 $result = $db->exec("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
37 $result = $db->exec("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
/php-src/ext/pdo/tests/
H A Dpdo_006.phpt18 $db->exec('CREATE TABLE test006(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
19 $db->exec("INSERT INTO test006 VALUES(1, 'A')");
20 $db->exec("INSERT INTO test006 VALUES(2, 'A')");
21 $db->exec("INSERT INTO test006 VALUES(3, 'C')");
H A Dpdo_007.phpt18 $db->exec('CREATE TABLE test007(id CHAR(1) NOT NULL PRIMARY KEY, val VARCHAR(10))');
19 $db->exec("INSERT INTO test007 VALUES('A', 'A')");
20 $db->exec("INSERT INTO test007 VALUES('B', 'A')");
21 $db->exec("INSERT INTO test007 VALUES('C', 'C')");
H A Dpdo_020.phpt18 $db->exec('CREATE TABLE test020(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))');
19 $db->exec("INSERT INTO test020 VALUES(1, 'A', 'A')");
20 $db->exec("INSERT INTO test020 VALUES(2, 'B', 'B')");
21 $db->exec("INSERT INTO test020 VALUES(3, 'C', 'C')");
/php-src/ext/sqlite3/tests/
H A Dsqlite3_24_last_insert_rowid.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')"));
17 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dbug73068.phpt15 $db->exec("CREATE TABLE IF NOT EXISTS t1(a INT UNIQUE, b INT)");
16 $db->exec("INSERT OR REPLACE INTO t1(a,b) VALUES('1','2')");
21 $db->exec("DELETE FROM t1 WHERE a='1' AND b='2'");
H A Dsqlite3_15_open_error-win.phpt13 $sysroot = exec('echo %systemroot%');
20 exec($cmd);
30 exec($cmd);
H A Dsqlite3_rename_column.phpt16 $db->exec('CREATE TABLE tbl (orig text)');
17 $db->exec('insert into tbl values ("one"), ("two")');
25 $db->exec('alter table tbl rename column orig to changed');
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-src/ext/pdo_mysql/tests/
H A Dbug80808.phpt15 $pdo->exec('CREATE TABLE test_80808 (postcode INT(4) UNSIGNED ZEROFILL)');
16 $pdo->exec('INSERT INTO test_80808 (postcode) VALUES (\'0800\')');
27 $db->exec('DROP TABLE IF EXISTS test_80808');
H A Dbug_pecl_12925.phpt16 $db->exec('DROP TABLE IF EXISTS test_12925');
17 $db->exec('CREATE TABLE test_12925(id CHAR(1))');
18 $db->exec("INSERT INTO test_12925(id) VALUES ('a')");
45 $db->exec('DROP TABLE IF EXISTS test_12925');
H A Dbug53551.phpt21 $db->exec($createSql);
22 $db->exec("INSERT INTO bug53551 SET `count` = 1 ");
23 $db->exec("SET sql_mode = 'Traditional'");
45 $db->exec('DROP TABLE IF EXISTS bug53551');
H A Dbug79375.phpt28 $db->exec("SET innodb_lock_wait_timeout = 1");
29 $db->exec("START TRANSACTION");
41 $db->exec("SET innodb_lock_wait_timeout = 1");
42 $db->exec("START TRANSACTION");
56 $db->exec("SET innodb_lock_wait_timeout = 1");
57 $db->exec("START TRANSACTION");
98 $db->exec('DROP TABLE IF EXISTS test_79375');
H A Dbug_41698.phpt17 $db->exec('CREATE TABLE test_41698(floatval DECIMAL(8,6))');
18 $db->exec('INSERT INTO test_41698 VALUES(2.34)');
28 $db->exec("DROP TABLE IF EXISTS test_41698");
/php-src/ext/pdo_firebird/tests/
H A Dgh8576.phpt15 $dbh->exec("CREATE TABLE gh8576 (name CHAR(1) CHARACTER SET UTF8)");
16 $dbh->exec("INSERT INTO gh8576 VALUES ('A')");
34 @$dbh->exec("DROP TABLE gh8576");
H A Dbug_72583.phpt15 $dbh->exec('recreate table test72583 (aint integer, asmi smallint)');
16 $dbh->exec('insert into test72583 values (1, -1)');
28 @$dbh->exec("DROP TABLE test72583");
/php-src/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_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);
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);
/php-src/ext/pdo_pgsql/tests/
H A Dbug68199.phpt31 $db->exec("LISTEN channel_bug68199");
36 $db->exec("NOTIFY channel_bug68199, 'payload'");
45 $db->exec("NOTIFY channel_bug68199, 'payload'");
53 $db->exec("NOTIFY channel_bug68199, 'payload'");
61 $db->exec("NOTIFY channel_bug68199, 'payload'");
69 $db->exec("NOTIFY channel_bug68199, 'payload'");
/php-src/ext/standard/tests/misc/
H A Dexec_basic1.phpt2 exec, system, passthru — Basic command execution functions
12 var_dump(exec($cmd, $output));
28 exec(): Argument #1 ($command) must not contain any null bytes
/php-src/ext/pdo_odbc/tests/
H A Dbug80783.phpt14 $db->exec("CREATE TABLE bug80783 (name IMAGE)");
17 $db->exec("INSERT INTO bug80783 VALUES('$string')");
30 $db->exec("DROP TABLE IF EXISTS bug80783");

Completed in 25 milliseconds

12345678910>>...16