/php-src/ext/sqlite3/tests/ |
H A D | sqlite3_trampoline_create_aggregate.phpt | 30 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 D | sqlite3_18_changes.phpt | 12 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 D | gh9032.phpt | 12 $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 D | bug45798.phpt | 10 $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 D | bug26615.phpt | 2 Bug #26615 (exec crash on long input lines) 10 …exec($_ENV['TEST_PHP_EXECUTABLE_ESCAPED'].' -n -r \'for($i=1;$i<=5000;$i++) print "$i\n";\' | tr \… 12 …exec($_ENV['TEST_PHP_EXECUTABLE_ESCAPED'].' -n -r "for($i=1;$i<=5000;$i++) echo $i,\' \';"', $out,…
|
/php-src/ext/pdo/tests/ |
H A D | pdo_002.phpt | 18 $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 D | pdo_019.phpt | 18 $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 D | pdo_001.phpt | 18 $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 D | pdo_008.phpt | 18 $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 D | pdo_003.phpt | 18 $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 D | pdo_004.phpt | 18 $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 D | bug_64172.phpt | 19 $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 D | gh12675.phpt | 8 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 D | action.yml | 10 …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 D | bug77289.phpt | 18 $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 D | bug80458.phpt | 46 $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 D | bug38334.phpt | 9 $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 D | gh9032.phpt | 11 $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 D | phpdbg.c | 118 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 D | transaction_isolation_level_behavior.phpt | 37 $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 D | pdofirebird_002.phpt | 22 $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 D | bug_15604.phpt | 16 $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 D | gh16450.phpt | 19 $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 D | getnotify.phpt | 25 $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 D | bug50732.phpt | 2 Bug #50732 (exec() adds single byte twice to $output array) 5 exec("echo x", $output);
|