Home
last modified time | relevance | path

Searched refs:exec (Results 26 – 50 of 264) sorted by relevance

1234567891011

/PHP-5.5/ext/pdo/tests/
H A Dpdo_008.phpt17 $db->exec('CREATE TABLE test(id CHAR(1) NOT NULL PRIMARY KEY, val VARCHAR(10))');
18 $db->exec("INSERT INTO test VALUES('A', 'A')");
19 $db->exec("INSERT INTO test VALUES('B', 'A')");
20 $db->exec("INSERT INTO test VALUES('C', 'C')");
H A Dpdo_019.phpt17 $db->exec('CREATE TABLE test(idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
18 $db->exec('INSERT INTO test VALUES(0, \'String0\')');
19 $db->exec('INSERT INTO test VALUES(1, \'String1\')');
20 $db->exec('INSERT INTO test VALUES(2, \'String2\')');
21 $db->exec('INSERT INTO test VALUES(3, \'String3\')');
H A Dpdo_004.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')");
H A Dpdo_003.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')");
H A Dpdo_006.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, 'A')");
20 $db->exec("INSERT INTO test VALUES(3, 'C')");
H A Dpdo_007.phpt17 $db->exec('CREATE TABLE test(id CHAR(1) NOT NULL PRIMARY KEY, val VARCHAR(10))');
18 $db->exec("INSERT INTO test VALUES('A', 'A')");
19 $db->exec("INSERT INTO test VALUES('B', 'A')");
20 $db->exec("INSERT INTO test VALUES('C', 'C')");
H A Dbug_39656.phpt18 @$db->exec("DROP TABLE test");
21 $db->exec("CREATE TABLE test (id INTEGER NOT NULL PRIMARY KEY, usr VARCHAR( 256 ) NOT NULL)");
22 $db->exec("INSERT INTO test (id, usr) VALUES (1, 'user')");
35 @$db->exec("DROP TABLE test");
H A Dpdo_020.phpt17 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))');
18 $db->exec("INSERT INTO test VALUES(1, 'A', 'A')");
19 $db->exec("INSERT INTO test VALUES(2, 'B', 'B')");
20 $db->exec("INSERT INTO test VALUES(3, 'C', 'C')");
/PHP-5.5/ext/pdo_mysql/tests/
H A Dbug53551.phpt21 $db->exec('drop table if exists bug53551');
22 $db->exec($createSql);
23 $db->exec("insert into bug53551 set `count` = 1 ");
24 $db->exec("SET sql_mode = 'Traditional'");
47 $db->exec('DROP TABLE IF EXISTS bug53551');
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');
/PHP-5.5/ext/pdo_oci/tests/
H A Dpecl_bug_6364.phpt15 @$dbh->exec ("drop table bug_6364_t");
17 $dbh->exec ("create table bug_6364_t (c1 varchar2(10), c2 varchar2(10), c3 varchar2(10), c4 varchar…
19 $dbh->exec ("create or replace procedure bug_6364_sp(p1 IN varchar2, p2 IN varchar2, p3 IN varchar2…
41 $dbh->exec ("drop procedure bug_6364_sp");
42 $dbh->exec ("drop table bug_6364_t");
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-5.5/ext/standard/tests/file/windows_links/
H A Dbug48746_2.phpt13 $ret = exec('mklink bug48746_tmp.lnk ' . __FILE__ .' 2>&1', $out);
25 exec("mkdir " . $dirname, $output, $ret_val);
29 $ret = exec($mountvol . " " . $drive . " /L", $output, $ret_val);
30 exec("mklink /j mounted_volume " . $ret, $output, $ret_val);
32 exec("mklink /j mklink_junction directory", $output, $ret_val);
H A Dbug48746.phpt14 $ret = @exec($cmd, $output, $return_val);
29 $ret = exec($mountvol . " " . $drive . " /L", $output, $ret_val);
30 exec("mklink /j mounted_volume " . $ret, $output, $ret_val);
32 exec("mklink /j mklink_junction directory", $output, $ret_val);
H A Dbug48746_1.phpt14 $ret = @exec($cmd, $output, $return_val);
25 exec("mkdir " . $dirname, $output, $ret_val);
29 $ret = exec($mountvol . " " . $drive . " /L", $output, $ret_val);
30 exec("mklink /j mounted_volume " . $ret, $output, $ret_val);
32 exec("mklink /j mklink_junction directory", $output, $ret_val);
/PHP-5.5/ext/pdo_firebird/tests/
H A Dbug_47415.phpt14 @$dbh->exec('DROP TABLE testz');
15 $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
16 $dbh->exec('INSERT INTO testz VALUES(0, \'String0\')');
35 $dbh->exec('DROP TABLE testz');
H A Dbug_53280.phpt13 @$dbh->exec('DROP TABLE testz');
14 $dbh->exec('CREATE TABLE testz(A VARCHAR(30), B VARCHAR(30), C VARCHAR(30))');
15 $dbh->exec("INSERT INTO testz VALUES ('A', 'B', 'C')");
35 $dbh->exec('DROP TABLE testz');
/PHP-5.5/ext/sqlite3/tests/
H A Dbug45798.phpt10 $db->exec('CREATE TABLE test (time INTEGER, id STRING)');
12 $db->exec("INSERT INTO test (time, id) VALUES (" . time() . ", 'a')");
13 $db->exec("INSERT INTO test (time, id) VALUES (" . time() . ", 'b')");
H A Dsqlite3result_fetcharray_with_two_params_fails.phpt11 $db->exec('CREATE TABLE foo (bar STRING)');
12 $db->exec("INSERT INTO foo (bar) VALUES ('This is a test')");
13 $db->exec("INSERT INTO foo (bar) VALUES ('This is another test')");
H A Dsqlite3result_reset_with_params_fails.phpt11 $db->exec('CREATE TABLE foo (bar STRING)');
12 $db->exec("INSERT INTO foo (bar) VALUES ('This is a test')");
13 $db->exec("INSERT INTO foo (bar) VALUES ('This is another test')");
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')"));
/PHP-5.5/ext/standard/tests/general_functions/
H A Dbug50732.phpt2 Bug #50732 (exec() adds single byte twice to $output array)
5 exec("echo x", $output);
/PHP-5.5/ext/standard/tests/misc/
H A Dexec_basic1.phpt2 exec, system, passthru — Basic command execution functions
11 var_dump(exec($cmd, $output));
17 Warning: exec(): NULL byte detected. Possible attack in %s on line %d
/PHP-5.5/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";
35 *** Test curl_copy_handle() after exec() ***

Completed in 43 milliseconds

1234567891011