/PHP-7.3/ext/xsl/ |
H A D | xsltprocessor.c | 624 id = getThis(); in PHP_FUNCTION() 681 id = getThis(); in PHP_FUNCTION() 713 id = getThis(); in PHP_FUNCTION() 744 zval *id; in PHP_FUNCTION() local 750 DOM_GET_THIS(id); in PHP_FUNCTION() 783 zval *id; in PHP_FUNCTION() local 808 zval *id; in PHP_FUNCTION() local 832 zval *id; in PHP_FUNCTION() local 867 zval *id; in PHP_FUNCTION() local 893 zval *id; in PHP_FUNCTION() local [all …]
|
/PHP-7.3/ext/sqlite3/tests/ |
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')"); 15 $stmt = $db->prepare("SELECT * FROM test WHERE id = ? ORDER BY id ASC");
|
H A D | sqlite3_33_reset.phpt | 13 $db->exec('CREATE TABLE foo (id INTEGER, bar STRING)'); 14 $db->exec("INSERT INTO foo (id, bar) VALUES (1, 'This is a test')"); 16 $stmt = $db->prepare('SELECT bar FROM foo WHERE id=:id'); 17 $stmt->bindValue(':id', 1, SQLITE3_INTEGER);
|
H A D | sqlite3_04_update.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 $results = $db->query("SELECT * FROM test ORDER BY id ASC"); 27 var_dump($db->exec("UPDATE test SET id = 'c' WHERE id = 'a'")); 30 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | bug63921-64bit.phpt | 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 14 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)'); 15 $stmt->bindValue(':id', 1, SQLITE3_INTEGER);
|
H A D | sqlite3_19_columninfo.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 $result = $db->query("SELECT * FROM test ORDER BY id ASC"); 40 Name: id - Type: 3 42 Name: id - Type: 3
|
H A D | bug63921-32bit.phpt | 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 14 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)'); 15 $stmt->bindValue(':id', 1, SQLITE3_INTEGER);
|
/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_native_clear_error.phpt | 18 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE)); 26 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')"); 28 $stmt = $db->prepare('SELECT unknown_column FROM test WHERE id > :placeholder ORDER BY id ASC'); 35 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > :placeholder ORDER BY id ASC'); 48 $stmt = $db->prepare('SELECT unknown_column FROM test WHERE id > :placeholder ORDER BY id ASC'); 55 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > :placeholder ORDER BY id ASC'); 87 ["id"]=>
|
H A D | pdo_mysql_attr_case.phpt | 29 …if (!is_object($stmt = $db->query("SELECT id, id AS 'ID_UPPER', label FROM test ORDER BY id ASC LI… 51 …if (!is_object($stmt = $db->query("SELECT id, id AS 'ID_UPPER', label, MiXeD, MYUPPER FROM test OR… 65 …if (!is_object($stmt = $db->query("SELECT id, label, MiXeD, MYUPPER, MYUPPER AS 'lower' FROM test … 79 …if (!is_object($stmt = $db->query("SELECT id, label, MiXeD, MYUPPER, id AS 'ID' FROM test ORDER BY… 97 ["id"]=> 112 ["id"]=> 129 ["id"]=> 152 ["id"]=> 202 ["id"]=>
|
/PHP-7.3/ext/pdo_sqlite/tests/ |
H A D | bug_63916.phpt | 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 14 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)'); 15 $stmt->bindValue(':id', 1, PDO::PARAM_INT);
|
H A D | bug_63916-2.phpt | 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 14 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)'); 15 $stmt->bindValue(':id', 1, PDO::PARAM_INT);
|
/PHP-7.3/ext/dba/tests/ |
H A D | bug72157.phpt | 16 Warning: dba_open(,Resource id #5): Illegal DBA mode in %sbug72157.php on line %d 18 Warning: dba_open(,Resource id #5): Illegal DBA mode in %sbug72157.php on line %d 20 Warning: dba_open(,Resource id #5): Illegal DBA mode in %sbug72157.php on line %d 22 Warning: dba_open(Resource id #5,Resource id #5): Illegal DBA mode in %sbug72157.php on line %d
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_execute.phpt | 44 if (!mysqli_stmt_prepare($stmt, "SELECT id FROM test ORDER BY id LIMIT 1")) 58 $id = 100; 60 if (!mysqli_stmt_bind_param($stmt, "is", $id, $label)) 71 if (!mysqli_stmt_prepare($stmt, "SELECT id FROM test ORDER BY id LIMIT ?")) 82 $id = null; 86 if ($id !== 1) 87 printf("[018] Expecting int/1 got %s/%s\n", gettype($id), $id); 97 $id = null; 101 if ($id !== 1) 102 printf("[022] Expecting int/1 got %s/%s\n", gettype($id), $id); [all …]
|
H A D | mysqli_stmt_get_result2.phpt | 37 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 1")) 70 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2") || 74 $id = $label = null; 89 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2") || 98 $id = $label = null; 108 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2") || 117 $id = $label = null; 122 if (NULL !== $id || NULL !== $label) 129 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2") || 160 ["id"]=> [all …]
|
H A D | mysqli_stmt_fetch_bit.phpt | 30 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,… 39 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value)); 45 $id = $_label0 = $label = null; 46 $sql = sprintf("SELECT id, label + 0 AS _label0, label FROM test WHERE id = %d", $value); 49 !mysqli_stmt_bind_result($stmt, $id, $_label0, $label)) 55 if (($id !== $_label0) || ($value !== $_label0)) { 56 …ight have failed. MySQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $bits, $value, … 59 …printf("[008 - %d] Wrong values, (original) value = %s, id = %s, label + 0 AS label0 = %s, label … 60 $bits, $value, $id, $_label0, $label);
|
H A D | mysqli_fetch_array_assoc.phpt | 13 if (!$res = mysqli_query($link, "SELECT * FROM test ORDER BY id LIMIT 5")) { 20 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 5")) { 37 ["id"]=> 44 ["id"]=>
|
H A D | mysqli_affected_rows_oo.phpt | 28 …if (!$mysqli->query('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE = ' . $engin… 31 if (!$mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a')")) 38 $mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a')"); 42 if (!$mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDATE id = 4")) 54 if (!$mysqli->query("INSERT IGNORE INTO test(id, label) VALUES (1, 'a')")) { 61 if (!$mysqli->query("INSERT INTO test(id, label) SELECT id + 10, label FROM test")) 67 if (!$mysqli->query("REPLACE INTO test(id, label) values (4, 'd')")) 73 if (!$mysqli->query("REPLACE INTO test(id, label) values (5, 'e')")) 79 if (!$mysqli->query("UPDATE test SET label = 'a' WHERE id = 2")) 85 if (!$mysqli->query("UPDATE test SET label = 'a' WHERE id = 2")) { [all …]
|
/PHP-7.3/Zend/tests/return_types/ |
H A D | rfc004.phpt | 9 function find($id) : User; 14 function find($id) { 19 …atal error: Declaration of UserGateway_MySql::find($id) must be compatible with UserGateway::find(…
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_eol.h | 27 int id; member 39 char *phpdbg_eol_name(int id); 41 char *phpdbg_eol_rep(int id);
|
/PHP-7.3/ext/pdo/tests/ |
H A D | pdo_009.phpt | 17 $db->exec('CREATE TABLE classtypes(id int NOT NULL PRIMARY KEY, name VARCHAR(10) NOT NULL UNIQUE)'); 21 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(10))'); 27 …e('SELECT classtypes.name, test.id AS id, test.val AS val FROM test LEFT JOIN classtypes ON test.c… 105 ["id"]=> 112 ["id"]=> 119 ["id"]=> 126 ["id"]=>
|
/PHP-7.3/ext/dom/ |
H A D | element.c | 322 zval *id; in PHP_FUNCTION() local 365 zval *id; in PHP_FUNCTION() local 432 zval *id; in PHP_FUNCTION() local 480 zval *id; in PHP_FUNCTION() local 630 zval *id; in PHP_FUNCTION() local 656 zval *id; in PHP_FUNCTION() local 736 zval *id; in PHP_FUNCTION() local 864 zval *id; in PHP_FUNCTION() local 921 zval *id; in PHP_FUNCTION() local 1049 zval *id; in PHP_FUNCTION() local [all …]
|
/PHP-7.3/ext/pdo_firebird/tests/ |
H A D | bug_74462.phpt | 11 $C->exec('create table atable (id integer not null, abool boolean)'); 12 $C->exec('insert into atable (id, abool) values (1, true)'); 13 $C->exec('insert into atable (id, abool) values (2, false)'); 14 $C->exec('insert into atable (id, abool) values (3, null)'); 15 $S = $C->query('select abool from atable order by id');
|
/PHP-7.3/ext/session/tests/ |
H A D | session_set_save_handler_class_007.phpt | 31 $id = session_id(); 32 echo "(#$this->num) finish called $id\n"; 35 public function write($id, $data) { 36 echo "(#$this->num) writing $id = $data\n"; 37 return parent::write($id, $data); 40 $id = session_id(); 41 echo "(#$this->num) closing $id\n";
|
H A D | session_set_save_handler_sid_002.phpt | 31 public function read($id) { 32 return @file_get_contents($this->path . $id); 35 public function write($id, $data) { 36 return file_put_contents($this->path . $id, $data); 39 public function destroy($id) { 40 @unlink($this->path . $id); 77 Fatal error: Uncaught Error: Session id must be a string in %s:%d
|
/PHP-7.3/ext/ctype/tests/ |
H A D | bug34645.phpt | 7 $id = 394829384; 8 var_dump(ctype_digit($id)); 9 var_dump($id);
|