/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_real_connect.phpt | 15 $tmp = NULL; 19 printf("[001a] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 22 printf("[001b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[001c] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[001d] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[001e] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[001f] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[001g] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 155 var_dump($tmp); [all …]
|
H A D | mysqli_commit_oo.phpt | 20 $tmp = NULL; 25 printf("[013] Expecting false got %s/%s\n", gettype($tmp), $tmp); 33 if (true !== ($tmp = $mysqli->commit())) { 34 printf("[002] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 38 … printf("[003] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 53 $tmp = $mysqli->commit(); 54 if ($tmp !== true) { 55 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 65 $tmp = $res->fetch_assoc(); 66 if (1 != $tmp['num']) { [all …]
|
H A D | mysqli_poll.phpt | 28 if (NULL !== ($tmp = @mysqli_poll())) 32 if (NULL !== ($tmp = @mysqli_poll($l))) 36 if (NULL !== ($tmp = @mysqli_poll($l, $n))) 40 if (NULL !== ($tmp = @mysqli_poll($l, $n, $n))) 44 if (NULL !== ($tmp = @mysqli_poll($l, $e, $r, -1))) 45 printf("[007] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true)); 49 printf("[008] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true)); 53 printf("[009] Expecting int/0 got %s/%s\n", gettype($tmp), var_export($tmp, true)); 57 printf("[010] Expecting false got %s/%s\n", gettype($tmp), var_export($tmp, true)); 61 printf("[011] Expecting false got %s/%s\n", gettype($tmp), var_export($tmp, true)); [all …]
|
H A D | mysqli_autocommit_oo.phpt | 29 printf("[002] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp); 37 $tmp = $res->fetch_assoc(); 39 if ($tmp['auto_commit']) 43 printf("[006] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 49 if (!$tmp['auto_commit']) 68 if ((!$tmp = $res->fetch_assoc()) || (1 != $tmp['num'])) 85 if (!$tmp['auto_commit']) 89 printf("[019] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 104 if (0 != $tmp['num']) 117 if ((!$tmp = $res->fetch_assoc()) || (1 != $tmp['num'])) [all …]
|
H A D | mysqli_pconn_conn_multiple.phpt | 27 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 30 printf("[004] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 52 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 55 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 70 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 77 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 89 printf("[018] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); 92 printf("[019] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 117 printf("[025] Expecting int/any got %s/%s\n", gettype($tmp), $tmp); 132 printf("[028] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_next_result.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_next_result())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_next_result($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (false !== ($tmp = mysqli_next_result($link))) 25 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 28 if (false !== ($tmp = mysqli_next_result($link))) 29 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_get_warnings.phpt | 29 $tmp = NULL; 32 if (!is_null($tmp = @mysqli_stmt_get_warnings())) 33 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 if (!is_null($tmp = @mysqli_stmt_get_warnings($link))) 36 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 43 if (false !== ($tmp = mysqli_stmt_get_warnings($stmt))) 44 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 52 if (false !== ($tmp = mysqli_stmt_get_warnings($stmt))) 53 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_fetch_field.phpt | 13 $tmp = NULL; 17 if (!is_null($tmp = @mysqli_fetch_field())) 18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 $tmp = mysqli_fetch_field($res); 38 var_dump($tmp); 41 $tmp = mysqli_fetch_field($res); 42 var_dump($tmp); 51 if ($tmp->db != $db) { 53 $db, $tmp->db); [all …]
|
H A D | mysqli_real_escape_string_eucjpms.phpt | 43 …if ('�����Ȥ߹�碌�Ǥ�\\\\�����Ȥ߹�碌�Ǥ�' !== ($tmp = mysqli_real_escape_string($link, '�����Ȥ߹�碌�Ǥ�\\���… 44 printf("[004] Expecting \\\\, got %s\n", $tmp); 46 …if ('�����Ȥ߹�碌�Ǥ�\"�����Ȥ߹�碌�Ǥ�' !== ($tmp = mysqli_real_escape_string($link, '�����Ȥ߹�碌�Ǥ�"�����Ȥ… 47 printf("[005] Expecting \", got %s\n", $tmp); 49 …if ("�����Ȥ߹�碌�Ǥ�\'�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�'�����Ȥ… 50 printf("[006] Expecting ', got %s\n", $tmp); 52 …if ("�����Ȥ߹�碌�Ǥ�\\n�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�\n����… 53 printf("[007] Expecting \\n, got %s\n", $tmp); 55 …if ("�����Ȥ߹�碌�Ǥ�\\r�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�\r����… 56 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string_euckr.phpt | 42 if ('�Ǵ뼺\\\\�Ǵ뼺' !== ($tmp = mysqli_real_escape_string($link, '�Ǵ뼺\\�Ǵ뼺'))) 43 printf("[004] Expecting \\\\, got %s\n", $tmp); 45 if ('�Ǵ뼺\"�Ǵ뼺' !== ($tmp = mysqli_real_escape_string($link, '�Ǵ뼺"�Ǵ뼺'))) 46 printf("[005] Expecting \", got %s\n", $tmp); 48 if ("�Ǵ뼺\'�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺'�Ǵ뼺"))) 49 printf("[006] Expecting ', got %s\n", $tmp); 51 if ("�Ǵ뼺\\n�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺\n�Ǵ뼺"))) 52 printf("[007] Expecting \\n, got %s\n", $tmp); 54 if ("�Ǵ뼺\\r�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺\r�Ǵ뼺"))) 55 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string_gb2312.phpt | 43 if ('����\\\\����' !== ($tmp = mysqli_real_escape_string($link, '����\\����'))) 44 printf("[004] Expecting \\\\, got %s\n", $tmp); 46 if ('����\"����' !== ($tmp = mysqli_real_escape_string($link, '����"����'))) 47 printf("[005] Expecting \", got %s\n", $tmp); 49 if ("����\'����" !== ($tmp = mysqli_real_escape_string($link, "����'����"))) 50 printf("[006] Expecting ', got %s\n", $tmp); 52 if ("����\\n����" !== ($tmp = mysqli_real_escape_string($link, "����\n����"))) 53 printf("[007] Expecting \\n, got %s\n", $tmp); 55 if ("����\\r����" !== ($tmp = mysqli_real_escape_string($link, "����\r����"))) 56 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string_gbk.phpt | 43 if ('�İ汾\\\\�İ汾' !== ($tmp = mysqli_real_escape_string($link, '�İ汾\\�İ汾'))) 44 printf("[004] Expecting \\\\, got %s\n", $tmp); 46 if ('�İ汾\"�İ汾' !== ($tmp = mysqli_real_escape_string($link, '�İ汾"�İ汾'))) 47 printf("[005] Expecting \", got %s\n", $tmp); 49 if ("�İ汾\'�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾'�İ汾"))) 50 printf("[006] Expecting ', got %s\n", $tmp); 52 if ("�İ汾\\n�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾\n�İ汾"))) 53 printf("[007] Expecting \\n, got %s\n", $tmp); 55 if ("�İ汾\\r�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾\r�İ汾"))) 56 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
/PHP-7.4/ext/standard/tests/dir/ |
H A D | scandir_variation8-win32-mb.phpt | 132 string(45) "私はガラスを食べられます-10.5.tmp" 134 string(45) "私はガラスを食べられます-2345.tmp" 136 string(40) "私はガラスを食べられます.tmp" 138 string(43) "私はガラスを食べられます0.5.tmp" 140 string(41) "私はガラスを食べられます0.tmp" 144 string(41) "私はガラスを食べられます1.tmp" 146 string(44) "私はガラスを食べられます10.5.tmp" 148 string(45) "私はガラスを食べられます12345.tmp" 152 string(45) "私はガラスを食べられますArray.tmp" 154 string(51) "私はガラスを食べられますdouble_file.tmp" [all …]
|
H A D | scandir_variation8.phpt | 122 string(9) "-10.5.tmp" 124 string(9) "-2345.tmp" 130 string(4) ".tmp" 132 string(7) "0.5.tmp" 134 string(5) "0.tmp" 138 string(5) "1.tmp" 140 string(8) "10.5.tmp" 142 string(9) "12345.tmp" 146 string(9) "Array.tmp" 148 string(15) "double_file.tmp" [all …]
|
H A D | scandir_variation4-win32-mb.phpt | 87 string(50) "私はガラスを食べられますlevel_one1.tmp" 89 string(50) "私はガラスを食べられますlevel_one2.tmp" 102 string(50) "私はガラスを食べられますlevel_two1.tmp" 104 string(50) "私はガラスを食べられますlevel_two2.tmp" 115 string(50) "私はガラスを食べられますlevel_one1.tmp" 117 string(50) "私はガラスを食べられますlevel_one2.tmp" 130 string(50) "私はガラスを食べられますlevel_two1.tmp" 132 string(50) "私はガラスを食べられますlevel_two2.tmp" 143 string(50) "私はガラスを食べられますlevel_one1.tmp" 145 string(50) "私はガラスを食べられますlevel_one2.tmp" [all …]
|
H A D | scandir_variation4.phpt | 81 string(14) "level_one1.tmp" 83 string(14) "level_one2.tmp" 96 string(14) "level_two1.tmp" 98 string(14) "level_two2.tmp" 109 string(14) "level_one1.tmp" 111 string(14) "level_one2.tmp" 124 string(14) "level_two1.tmp" 126 string(14) "level_two2.tmp" 137 string(14) "level_one1.tmp" 139 string(14) "level_one2.tmp" [all …]
|
H A D | readdir_variation4-win32-mb.phpt | 156 string(45) "私はガラスを食べられます-10.5.tmp" 158 string(45) "私はガラスを食べられます-2345.tmp" 160 string(40) "私はガラスを食べられます.tmp" 162 string(43) "私はガラスを食べられます0.5.tmp" 164 string(41) "私はガラスを食べられます0.tmp" 168 string(41) "私はガラスを食べられます1.tmp" 170 string(44) "私はガラスを食べられます10.5.tmp" 172 string(45) "私はガラスを食べられます12345.tmp" 176 string(45) "私はガラスを食べられますArray.tmp" 178 string(51) "私はガラスを食べられますdouble_file.tmp" [all …]
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | mkdir_variation5-win32.phpt | 20 $workDir = "mkdirVar5.tmp"; 74 -- creating mkdirVar5.tmp\aSubDir -- 76 -- creating .\mkdirVar5.tmp\aSubDir -- 78 -- creating mkdirVar5.tmp\..\mkdirVar5.tmp\aSubDir -- 86 -- creating %s\mkdirVar5.tmp\aSubDir -- 88 -- creating %s\.\mkdirVar5.tmp\aSubDir -- 90 -- creating %s\mkdirVar5.tmp\..\mkdirVar5.tmp\aSubDir -- 95 -- creating mkdirVar5.tmp\aSubDir\ -- 97 -- creating %s\mkdirVar5.tmp\aSubDir\ -- 99 -- creating mkdirVar5.tmp\\aSubDir -- [all …]
|
H A D | filegroup_variation3.phpt | 18 $file_handle = fopen($dir_name."/filegroup_variation3.tmp", "w"); 22 "/filegroup_variation3/filegroup_variation3.tmp", 25 "/filegroup_variation3/filegroup_variation3.tmp/", 28 "/filegroup_variation3//filegroup_variation3.tmp", 29 "//filegroup_variation3//filegroup_variation3.tmp", 30 "/filegroup_variation3/*.tmp", 31 "filegroup_variation3/filegroup*.tmp", 34 "/filegroup_variation3/filegroup_variation3.tmp".chr(0), 35 "/filegroup_variation3/filegroup_variation3.tmp\0" 53 unlink($dir_name."/filegroup_variation3.tmp"); [all …]
|
H A D | fileowner_variation3.phpt | 19 $file_handle = fopen($dir_name."/fileowner_variation3.tmp", "w"); 23 "/fileowner_variation3/fileowner_variation3.tmp", 26 "/fileowner_variation3/fileowner_variation3.tmp/", 29 "/fileowner_variation3//fileowner_variation3.tmp", 30 "//fileowner_variation3//fileowner_variation3.tmp", 31 "/fileowner_variation3/*.tmp", 32 "fileowner_variation3/fileowner*.tmp", 35 "/fileowner_variation3/fileowner_variation3.tmp".chr(0), 36 "/fileowner_variation3/fileowner_variation3.tmp\0" 54 unlink($dir_name."/fileowner_variation3.tmp"); [all …]
|
H A D | fileinode_variation3.phpt | 19 $file_handle = fopen($dir_name."/fileinode_variation3.tmp", "w"); 23 "/fileinode_variation3/fileinode_variation3.tmp", 26 "/fileinode_variation3/fileinode_variation3.tmp/", 29 "/fileinode_variation3//fileinode_variation3.tmp", 30 "//fileinode_variation3//fileinode_variation3.tmp", 31 "/fileinode_variation3/*.tmp", 32 "fileinode_variation3/fileinode*.tmp", 35 "/fileinode_variation3/fileinode_variation3.tmp".chr(0), 36 "/fileinode_variation3/fileinode_variation3.tmp\0" 54 unlink($dir_name."/fileinode_variation3.tmp"); [all …]
|
H A D | fileperms_variation3.phpt | 18 $file_handle = fopen($dir_name."/fileperms_variation3.tmp", "w"); 22 "/fileperms_variation3/fileperms_variation3.tmp", 25 "/fileperms_variation3/fileperms_variation3.tmp/", 28 "/fileperms_variation3//fileperms_variation3.tmp", 29 "//fileperms_variation3//fileperms_variation3.tmp", 30 "/fileperms_variation3/*.tmp", 31 "fileperms_variation3/fileperms*.tmp", 34 "/fileperms_variation3/fileperms_variation3.tmp".chr(0), 35 "/fileperms_variation3/fileperms_variation3.tmp\0" 53 unlink($dir_name."/fileperms_variation3.tmp"); [all …]
|
H A D | mkdir-006.phpt | 6 $dirpath = "./tmp/foo//bar/logs"; 14 rmdir("./tmp/foo/bar/logs"); 15 rmdir("./tmp/foo/bar/"); 16 rmdir("./tmp/foo/"); 17 rmdir("./tmp/");
|
H A D | rename_variation-win32.phpt | 24 "$file_path/rename_variation/rename_variation.tmp", 27 "$file_path/rename_variation/rename_variation.tmp/", 30 "$file_path/rename_variation//rename_variation.tmp", 31 "$file_path//rename_variation//rename_variation.tmp", 36 /* loop through each $file and rename it to rename_variation2.tmp */ 39 $fp = fopen("$file_path/rename_variation/rename_variation.tmp", "w"); 41 $dest_filename = "$file_path/rename_variation2.tmp"; 60 unlink($file_path."/rename_variation_link.tmp"); 61 unlink($file_path."/rename_variation.tmp"); 72 Warning: rename(%s/rename_variation/rename_variation.tmp/,%s/rename_variation2.tmp): The filename, … [all …]
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct.phpt | 81 $tmp = $e->getMessage(); 82 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002')) 95 $tmp = $e->getMessage(); 96 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002')) 112 $tmp = $e->getMessage(); 113 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002')) 127 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005')) 153 if (!stristr($tmp, '42000') && !stristr($tmp, '1049')) 171 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2002')) 191 (($tmp[0] >= 4 && $tmp[1] >= 1) || ($tmp[0] >= 5))) { [all …]
|