Home
last modified time | relevance | path

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

12345678910>>...16

/php-src/ext/sqlite3/tests/
H A Dsqlite3_trampoline_create_aggregate.phpt30 var_dump($db->exec('CREATE TABLE test (a INTEGER, b INTEGER)'));
33 var_dump($db->exec("INSERT INTO test (a, b) VALUES (1, -1)"));
34 var_dump($db->exec("INSERT INTO test (a, b) VALUES (2, -2)"));
35 var_dump($db->exec("INSERT INTO test (a, b) VALUES (3, -3)"));
36 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)"));
37 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)"));
H A Dsqlite3_18_changes.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')"));
19 var_dump($db->exec("UPDATE test SET id = 'c'"));
H A Dgh9032.phpt12 $db->exec('attach database \':memory:\' AS "db1"');
13 var_dump($db->exec('create table db1.r (id int)'));
19 var_dump($db->exec('create table db2.r (id int)'));
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')");
/php-src/ext/standard/tests/file/
H A Dbug26615.phpt2 Bug #26615 (exec crash on long input lines)
10exec($_ENV['TEST_PHP_EXECUTABLE_ESCAPED'].' -n -r \'for($i=1;$i<=5000;$i++) print "$i\n";\' | tr \…
12exec($_ENV['TEST_PHP_EXECUTABLE_ESCAPED'].' -n -r "for($i=1;$i<=5000;$i++) echo $i,\' \';"', $out,…
/php-src/ext/pdo/tests/
H A Dpdo_002.phpt18 $db->exec('CREATE TABLE test002(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
19 $db->exec("INSERT INTO test002 VALUES(1, 'A')");
20 $db->exec("INSERT INTO test002 VALUES(2, 'B')");
21 $db->exec("INSERT INTO test002 VALUES(3, 'C')");
H A Dpdo_019.phpt18 $db->exec('CREATE TABLE test019(idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
19 $db->exec("INSERT INTO test019 VALUES(0, 'String0')");
20 $db->exec("INSERT INTO test019 VALUES(1, 'String1')");
21 $db->exec("INSERT INTO test019 VALUES(2, 'String2')");
22 $db->exec("INSERT INTO test019 VALUES(3, 'String3')");
H A Dpdo_001.phpt18 $db->exec('CREATE TABLE test001(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
19 $db->exec("INSERT INTO test001 VALUES(1, 'A')");
20 $db->exec("INSERT INTO test001 VALUES(2, 'B')");
21 $db->exec("INSERT INTO test001 VALUES(3, 'C')");
H A Dpdo_008.phpt18 $db->exec('CREATE TABLE test008(id CHAR(1) NOT NULL PRIMARY KEY, val VARCHAR(10))');
19 $db->exec("INSERT INTO test008 VALUES('A', 'A')");
20 $db->exec("INSERT INTO test008 VALUES('B', 'A')");
21 $db->exec("INSERT INTO test008 VALUES('C', 'C')");
H A Dpdo_003.phpt18 $db->exec('CREATE TABLE test003(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
19 $db->exec("INSERT INTO test003 VALUES(1, 'A')");
20 $db->exec("INSERT INTO test003 VALUES(2, 'B')");
21 $db->exec("INSERT INTO test003 VALUES(3, 'C')");
H A Dpdo_004.phpt18 $db->exec('CREATE TABLE test004(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
19 $db->exec("INSERT INTO test004 VALUES(1, 'A')");
20 $db->exec("INSERT INTO test004 VALUES(2, 'B')");
21 $db->exec("INSERT INTO test004 VALUES(3, 'C')");
H A Dbug_64172.phpt19 $db->exec("CREATE TABLE test64172 (x int)");
20 $db->exec("INSERT INTO test64172 VALUES (1)");
36 $db->exec("INSERT INTO bad_table VALUES(1)");
43 $db->exec("INSERT INTO test64172 VALUES (2)");
72 Warning: PDO::exec(): SQLSTATE[%s]: %s
/php-src/sapi/phpdbg/tests/
H A Dgh12675.phpt8 exec nonexistent.php
9 exec gh12675_1.tmp
10 exec gh12675_1.tmp
13 exec gh12675_2.tmp
/php-src/.github/actions/setup-x64/
H A Daction.yml10 …docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q…
11 …docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q…
12 …docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q…
13 …docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q…
14 …docker exec sql1 /opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U SA -C -P "<YourStrong@Passw0rd>" -Q…
/php-src/ext/pdo_mysql/tests/
H A Dbug77289.phpt18 $pdo->exec("DROP TABLE IF EXISTS bug77289");
19 $pdo->exec("CREATE TEMPORARY TABLE bug77289 (x INT)");
20 $pdo->exec("UPDATE bug77289 SET x = x");
H A Dbug80458.phpt46 $db->exec("CREATE PROCEDURE {$procedure_nores}() BEGIN DELETE FROM test_80458 WHERE first=6; END;");
50 $db->exec("DROP PROCEDURE IF EXISTS {$procedure_nores}");
54 $db->exec("CREATE PROCEDURE {$procedure_ret}() BEGIN SELECT first FROM test_80458 WHERE first=7; EN…
60 $db->exec("DROP PROCEDURE IF EXISTS {$procedure_ret}");
87 $db->exec("CREATE PROCEDURE {$procedure_nores}() BEGIN DELETE FROM test_80458 WHERE first=13; END;"…
91 $db->exec("CREATE PROCEDURE {$procedure_ret}() BEGIN SELECT first FROM test_80458 WHERE first=14; E…
97 $db->exec("DROP PROCEDURE IF EXISTS {$procedure_ret}");
114 $db->exec('DROP TABLE IF EXISTS test_80458');
115 $db->exec('DROP PROCEDURE IF EXISTS nores_bug80458_pdo_mysql_p');
116 $db->exec('DROP PROCEDURE IF EXISTS ret_bug80458_pdo_mysql_p');
/php-src/ext/pdo_sqlite/tests/
H A Dbug38334.phpt9 $db->exec('CREATE TABLE test_38334 (i INTEGER , f DOUBLE, s VARCHAR(255))');
10 $db->exec('INSERT INTO test_38334 VALUES (42, 46.7, "test")');
14 $db->exec('INSERT INTO test_38334 VALUES (10000000000, 0.0, "")');
23 $db->exec('INSERT INTO test_38334 VALUES ("test", "test", "x")');
H A Dgh9032.phpt11 $db->exec('attach database \':memory:\' AS "db1"');
12 var_dump($db->exec('create table db1.r (id int)'));
17 var_dump($db->exec('create table db2.r (id int)'));
/php-src/sapi/phpdbg/
H A Dphpdbg.c118 pg->exec = NULL; in php_phpdbg_globals_ctor()
261 zend_string *exec; in PHP_FUNCTION() local
279 PHPDBG_G(exec) = zend_strndup(ZSTR_VAL(exec), ZSTR_LEN(exec)); in PHP_FUNCTION()
1131 char *exec = NULL; in main() local
1191 exec = settings->exec; in main()
1390 if (exec) { in main()
1391 free(exec); in main()
1429 PHPDBG_G(exec) = phpdbg_resolve_path(exec); in main()
1430 PHPDBG_G(exec_len) = PHPDBG_G(exec) ? strlen(PHPDBG_G(exec)) : 0; in main()
1432 free(exec); in main()
[all …]
/php-src/ext/pdo_firebird/tests/
H A Dtransaction_isolation_level_behavior.phpt37 $dbh_other->exec("INSERT INTO {$table} VALUES (20)");
44 $dbh_other->exec("DELETE FROM {$table}");
60 $dbh_other->exec("INSERT INTO {$table} VALUES (20)");
67 $dbh_other->exec("DELETE FROM {$table}");
83 $dbh_other->exec("INSERT INTO {$table} VALUES (20)");
90 $dbh_other->exec("DELETE FROM {$table}");
113 $dbh_other->exec("INSERT INTO {$table} VALUES (20)");
120 $dbh_other->exec("DELETE FROM {$table}");
132 @$dbh->exec('DROP TABLE txn_isolation_level_behavior');
H A Dpdofirebird_002.phpt22 $db->exec("INSERT INTO pdofirebird_002 VALUES(1, 'A')");
23 $db->exec("INSERT INTO pdofirebird_002 VALUES(2, 'B')");
24 $db->exec("INSERT INTO pdofirebird_002 VALUES(3, 'C')");
36 @$dbh->exec("DROP TABLE pdofirebird_002");
H A Dbug_15604.phpt16 $dbh->exec('
25 $dbh->exec('recreate sequence g_bug_15604');
27 $dbh->exec(<<<'SQL'
63 @$dbh->exec('drop table t_bug_15604');
64 @$dbh->exec('drop sequence g_bug_15604');
/php-src/ext/pdo_odbc/tests/
H A Dgh16450.phpt19 $pdo->exec("CREATE TABLE gh16450 (Id INT, MyLongText LONGCHAR)");
20 $pdo->exec(sprintf("INSERT INTO gh16450 VALUES (1, '%s')", str_repeat("_", 2048)));
21 $pdo->exec(sprintf("INSERT INTO gh16450 VALUES (1, '%s')", str_repeat("_", 2049)));
31 $pdo->exec("DROP TABLE gh16450");
/php-src/ext/pdo_pgsql/tests/
H A Dgetnotify.phpt25 $db->exec("LISTEN channel_getnotify");
30 $db->exec("NOTIFY channel_getnotify");
38 $db->exec("NOTIFY channel_getnotify");
45 $db->exec("NOTIFY channel_getnotify");
52 $db->exec("NOTIFY channel_getnotify");
59 $db->exec("NOTIFY channel_getnotify");
79 $db->exec("NOTIFY channel_getnotify");
/php-src/ext/standard/tests/general_functions/
H A Dbug50732.phpt2 Bug #50732 (exec() adds single byte twice to $output array)
5 exec("echo x", $output);

Completed in 28 milliseconds

12345678910>>...16