/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_commit.phpt | 20 if (true !== ($tmp = $db->beginTransaction())) { 21 printf("[001] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 38 if (true !== ($tmp = $db->getAttribute(PDO::ATTR_AUTOCOMMIT))) 40 gettype($tmp), var_export($tmp, true)); 42 if (true !== ($tmp = $db->beginTransaction())) 43 printf("[004] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 47 if (true !== ($tmp = $db->commit())) 64 if (true !== ($tmp = $db->beginTransaction())) 65 printf("[007] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 68 if (true !== ($tmp = $db->commit()))
|
H A D | pdo_mysql_get_attribute.phpt | 20 $offset, $attribute, var_export($tmp, true)); 30 $tmp = $db->getAttribute($attribute); 31 if ($tmp !== $value) { 33 …set, $attribute, var_export($value, true), gettype($value), var_export($tmp, true), gettype($tmp)); 56 $tmp = array(); 57 set_and_get(8, $db, PDO::MYSQL_ATTR_LOCAL_INFILE, $tmp);
|
H A D | pdo_mysql___construct_options.phpt | 22 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option)))) 26 $tmp, gettype($tmp), 86 $tmp = @$db->getAttribute($option); 87 if ($tmp !== $defaults[$option]) 90 $tmp, gettype($tmp));
|
H A D | pdo_mysql_stmt_fetch_serialize_simple.phpt | 41 $tmp = unserialize(serialize($obj)); 42 var_dump($tmp);
|
H A D | pdo_mysql_stmt_getcolumnmeta.phpt | 25 if (false !== ($tmp = $stmt->getColumnMeta(0))) 26 printf("[002] Expecting false got %s\n", var_export($tmp, true)); 53 if (false !== ($tmp = $stmt->getColumnMeta(1))) 54 printf("[009] Expecting false because of invalid offset got %s\n", var_export($tmp, true));
|
H A D | pdo_mysql_stmt_nextrowset.phpt | 23 if (false !== ($tmp = $stmt->nextRowSet())) 24 printf("[002] Expecting false got %s\n", var_export($tmp, true)); 30 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 31 assert($tmp['_version'] === NULL);
|
H A D | pdo_mysql_stmt_rowcount.phpt | 20 if (0 !== ($tmp = $db->query("SELECT id FROM {$table} WHERE 1 = 0")->rowCount())) 21 printf("[002] Expecting 0 got %s", var_export($tmp, true)); 23 if (1 !== ($tmp = $db->query("SELECT id FROM {$table} WHERE id = 1")->rowCount())) 24 printf("[003] Expecting 1 got %s", var_export($tmp, true));
|
H A D | pdo_mysql_prepare_native_myisam_index.phpt | 23 $tmp = $db->errorInfo(); 26 ($error_info['prepare']['sqlstate'] !== $tmp[0])) { 33 ($error_info['prepare']['mysql'] !== $tmp[1])) { 58 $tmp = $stmt->errorInfo(); 59 if (isset($tmp[1]) && ($tmp[1] == 2030)) { 75 ($error_info['execute']['mysql'] !== $tmp[1])) { 132 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 141 if ($tmp !== $exp) { 144 var_dump($tmp); 150 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0) [all …]
|
H A D | pdo_mysql_stmt_blobfromstream.phpt | 10 $tmp = MySQLPDOTest::getTempDir(); 11 if (!$tmp) 14 $file = $tmp . DIRECTORY_SEPARATOR . 'pdoblob.tst'; 73 if (true !== ($tmp = $stmt->bindParam(2, $fp, PDO::PARAM_LOB))) { 76 var_export($tmp, true), 118 $tmp = MySQLPDOTest::getTempDir(); 119 $file = $tmp . DIRECTORY_SEPARATOR . 'pdoblob.tst';
|
H A D | pdo_mysql_last_insert_id.phpt | 16 if ('0' !== ($tmp = $db->lastInsertId())) 18 var_export($tmp, true), gettype($tmp)); 22 var_export($tmp, true), gettype($tmp)); 24 if ('0' !== ($tmp = $db->lastInsertId())) 25 printf("[003] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 29 printf("[004] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 33 printf("[005] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 38 printf("[006] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 42 printf("[006] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 47 printf("[007] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); [all …]
|
H A D | pdo_mysql_pconnect.phpt | 25 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 26 if ($tmp['_pers'] != 1) 30 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 31 $con1 = $tmp['_con1']; 34 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 35 $con2 = $tmp['_con2']; 44 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 45 $con1 = $tmp['_con1']; 61 if (!strstr($tmp, '2006')) 69 $con1 = $tmp['_con1']; [all …]
|
H A D | pdo_mysql_phpinfo.phpt | 17 $tmp = ob_get_contents(); 23 if (!preg_match("/$reg/", $tmp)) {
|
H A D | pdo_mysql_prepare_emulated.phpt | 24 $tmp = $db->errorInfo(); 27 ($error_info['prepare']['sqlstate'] !== $tmp[0])) { 29 $offset, $error_info['prepare']['sqlstate'], $tmp[0]); 34 ($error_info['prepare']['mysql'] !== $tmp[1])) { 36 $offset, $error_info['prepare']['mysql'], $tmp[0]); 56 $tmp = $stmt->errorInfo(); 59 ($error_info['execute']['sqlstate'] !== $tmp[0])) { 66 ($error_info['execute']['mysql'] !== $tmp[1])) { 68 $offset, $error_info['execute']['mysql'], $tmp[0]); 143 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2) [all …]
|
H A D | pdo_mysql_prepare_emulated_anonymous_placeholders.phpt | 24 $tmp = $db->errorInfo(); 27 ($error_info['prepare']['sqlstate'] !== $tmp[0])) { 29 $offset, $error_info['prepare']['sqlstate'], $tmp[0]); 34 ($error_info['prepare']['mysql'] !== $tmp[1])) { 36 $offset, $error_info['prepare']['mysql'], $tmp[0]); 56 $tmp = $stmt->errorInfo(); 59 ($error_info['execute']['sqlstate'] !== $tmp[0])) { 66 ($error_info['execute']['mysql'] !== $tmp[1])) { 68 $offset, $error_info['execute']['mysql'], $tmp[0]); 143 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2) [all …]
|
H A D | pdo_mysql_prepare_emulated_myisam.phpt | 24 $tmp = $db->errorInfo(); 27 ($error_info['prepare']['sqlstate'] !== $tmp[0])) { 34 ($error_info['prepare']['mysql'] !== $tmp[1])) { 36 $offset, $error_info['prepare']['mysql'], $tmp[0]); 56 $tmp = $stmt->errorInfo(); 59 ($error_info['execute']['sqlstate'] !== $tmp[0])) { 66 ($error_info['execute']['mysql'] !== $tmp[1])) { 105 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2) 127 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0) 134 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2) [all …]
|
H A D | pdo_mysql_prepare_emulated_myisam_index.phpt | 26 $tmp = $db->errorInfo(); 29 ($error_info['prepare']['sqlstate'] !== $tmp[0])) { 36 ($error_info['prepare']['mysql'] !== $tmp[1])) { 38 $offset, $error_info['prepare']['mysql'], $tmp[0]); 58 $tmp = $stmt->errorInfo(); 61 ($error_info['execute']['sqlstate'] !== $tmp[0])) { 68 ($error_info['execute']['mysql'] !== $tmp[1])) { 108 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2) 134 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0) 141 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2) [all …]
|
H A D | pdo_mysql_prepare_native_anonymous_placeholder.phpt | 23 $tmp = $db->errorInfo(); 26 ($error_info['prepare']['sqlstate'] !== $tmp[0])) { 33 ($error_info['prepare']['mysql'] !== $tmp[1])) { 58 $tmp = $stmt->errorInfo(); 59 if (isset($tmp[1]) && ($tmp[1] == 2030)) { 138 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 155 if ($tmp !== $exp) { 158 var_dump($tmp); 200 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 209 if ($tmp !== $exp) { [all …]
|
H A D | pdo_mysql_prepare_native_myisam.phpt | 23 $tmp = $db->errorInfo(); 26 ($error_info['prepare']['sqlstate'] !== $tmp[0])) { 33 ($error_info['prepare']['mysql'] !== $tmp[1])) { 58 $tmp = $stmt->errorInfo(); 59 if (isset($tmp[1]) && ($tmp[1] == 2030)) { 68 ($error_info['execute']['sqlstate'] !== $tmp[0])) { 75 ($error_info['execute']['mysql'] !== $tmp[1])) { 125 var_dump($tmp); 136 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0) 142 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 1) [all …]
|
H A D | pdo_mysql_prepare_native.phpt | 23 $tmp = $db->errorInfo(); 26 ($error_info['prepare']['sqlstate'] !== $tmp[0])) { 28 $offset, $error_info['prepare']['sqlstate'], $tmp[0]); 33 ($error_info['prepare']['mysql'] !== $tmp[1])) { 35 $offset, $error_info['prepare']['mysql'], $tmp[0]); 58 $tmp = $stmt->errorInfo(); 59 if (isset($tmp[1]) && ($tmp[1] == 2030)) { 68 ($error_info['execute']['sqlstate'] !== $tmp[0])) { 75 ($error_info['execute']['mysql'] !== $tmp[1])) { 147 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2) [all …]
|
H A D | pdo_mysql___construct_ini.phpt | 10 if (getenv('PDO_MYSQL_TEST_DSN') !== "mysql:dbname=phptest;unix_socket=/tmp/mysql.sock") 14 pdo.dsn.mysql="mysql:dbname=phptest;socket=/tmp/mysql.sock"
|
H A D | pdo_mysql___construct_options_libmysql.phpt | 23 … if (!is_object($db) || (!$ignore_diff && ($value !== ($tmp = @$db->getAttribute($option))))) 27 $tmp, gettype($tmp), 53 $tmp = $db->getAttribute($option); 54 if ($tmp !== $defaults[$option]) 57 $tmp, gettype($tmp));
|
H A D | pdo_mysql___construct_uri.phpt | 16 if ($tmp = MySQLPDOTest::getTempDir()) { 17 $file = $tmp . DIRECTORY_SEPARATOR . 'pdomuri.tst';
|
H A D | pdo_mysql_exec_load_data.phpt | 14 $tmp = explode('@', $row['_user']); 15 if (count($tmp) < 2) 17 if (($tmp[1] !== 'localhost') && ($tmp[1] !== '127.0.0.1'))
|
/php-src/ext/dom/lexbor/patches/ |
H A D | 0001-Shrink-size-of-static-binary-search-tree.patch | 10 utils/lexbor/html/tmp/tokenizer_res.h | 2 +- 50 diff --git a/utils/lexbor/html/tmp/tokenizer_res.h b/utils/lexbor/html/tmp/tokenizer_res.h 52 --- a/utils/lexbor/html/tmp/tokenizer_res.h 53 +++ b/utils/lexbor/html/tmp/tokenizer_res.h 96 entities_bst("tmp/tokenizer_res.h",
|
/php-src/ext/xml/ |
H A D | compat.c | 451 XML_Char tmp[2]; in XML_ParserCreateNS() local 452 tmp[0] = sep; in XML_ParserCreateNS() 453 tmp[1] = '\0'; in XML_ParserCreateNS() 454 return XML_ParserCreate_MM(encoding, NULL, tmp); in XML_ParserCreateNS()
|