/PHP-7.0/ext/mysqli/tests/ |
H A D | mysqli_fetch_field_direct_oo.phpt | 13 $tmp = NULL; 18 if (!is_null($tmp = @$res->fetch_field_direct())) 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if (!is_null($tmp = @$res->fetch_field_direct())) 32 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 if (!is_null($tmp = @$res->fetch_field_direct($link))) 35 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (!is_null($tmp = @$res->fetch_field_direct($link, $link))) 38 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 if (NULL !== ($tmp = $res->fetch_field_direct(0))) [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_more_results.phpt | 19 $tmp = NULL; 22 if (!is_null($tmp = @mysqli_more_results())) 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 if (!is_null($tmp = @mysqli_more_results($link))) 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 51 $tmp = ob_get_contents(); 56 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp)); 58 print trim($tmp) . "\n"; 83 $tmp = ob_get_contents(); 88 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp)); [all …]
|
H A D | mysqli_real_connect.phpt | 13 $tmp = NULL; 17 printf("[001a] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[001b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[001c] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[001d] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[001e] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[001f] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[001g] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 153 var_dump($tmp); [all …]
|
H A D | mysqli_fetch_field_direct.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_fetch_field_direct())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_fetch_field_direct($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 22 if (!is_null($tmp = @mysqli_fetch_field_direct($link, $link))) 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (NULL !== ($tmp = mysqli_fetch_field_direct($res, 0))) 38 printf("Expecting NULL, 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 (NULL !== ($tmp = mysqli_stmt_get_warnings($stmt))) 44 printf("[004] Expecting NULL, 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_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_fetch_field_oo.phpt | 13 $tmp = NULL; 19 if (!is_null($tmp = @$res->fetch_field())) 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 if (!is_null($tmp = @$res->fetch_field($link))) 28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 43 $tmp = $res->fetch_field(); 44 var_dump($tmp); 53 if ($tmp->db != $db) { 55 $db, $tmp->db); 62 if (NULL !== ($tmp = $res->fetch_field())) [all …]
|
H A D | mysqli_insert_id.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_insert_id())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 if (0 !== ($tmp = mysqli_insert_id($link))) 25 printf("[003] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 30 if (0 !== ($tmp = mysqli_insert_id($link))) 31 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 119 printf("[021] Expecting int/1000, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_real_escape_string_eucjpms.phpt | 45 …if ('�����Ȥ߹�碌�Ǥ�\\\\�����Ȥ߹�碌�Ǥ�' !== ($tmp = mysqli_real_escape_string($link, '�����Ȥ߹�碌�Ǥ�\\���… 46 printf("[004] Expecting \\\\, got %s\n", $tmp); 48 …if ('�����Ȥ߹�碌�Ǥ�\"�����Ȥ߹�碌�Ǥ�' !== ($tmp = mysqli_real_escape_string($link, '�����Ȥ߹�碌�Ǥ�"�����Ȥ… 49 printf("[005] Expecting \", got %s\n", $tmp); 51 …if ("�����Ȥ߹�碌�Ǥ�\'�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�'�����Ȥ… 52 printf("[006] Expecting ', got %s\n", $tmp); 54 …if ("�����Ȥ߹�碌�Ǥ�\\n�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�\n����… 55 printf("[007] Expecting \\n, got %s\n", $tmp); 57 …if ("�����Ȥ߹�碌�Ǥ�\\r�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�\r����… 58 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string_euckr.phpt | 44 if ('�Ǵ뼺\\\\�Ǵ뼺' !== ($tmp = mysqli_real_escape_string($link, '�Ǵ뼺\\�Ǵ뼺'))) 45 printf("[004] Expecting \\\\, got %s\n", $tmp); 47 if ('�Ǵ뼺\"�Ǵ뼺' !== ($tmp = mysqli_real_escape_string($link, '�Ǵ뼺"�Ǵ뼺'))) 48 printf("[005] Expecting \", got %s\n", $tmp); 50 if ("�Ǵ뼺\'�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺'�Ǵ뼺"))) 51 printf("[006] Expecting ', got %s\n", $tmp); 53 if ("�Ǵ뼺\\n�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺\n�Ǵ뼺"))) 54 printf("[007] Expecting \\n, got %s\n", $tmp); 56 if ("�Ǵ뼺\\r�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺\r�Ǵ뼺"))) 57 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
/PHP-7.0/sapi/fpm/tests/ |
H A D | 019.phpt | 10 $logfile = 'php-fpm.log.tmp'; 11 $accfile = 'php-fpm.acc.tmp'; 12 $slwfile = 'php-fpm.slw.tmp'; 13 $pidfile = 'php-fpm.pid.tmp'; 61 File php-fpm.log.tmp exists 62 File php-fpm.acc.tmp exists 63 File php-fpm.slw.tmp exists 64 File php-fpm.pid.tmp exists 67 File php-fpm.pid.tmp removed 71 $logfile = __DIR__.'/php-fpm.log.tmp'; [all …]
|
/PHP-7.0/ext/standard/tests/file/ |
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 | 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 | 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 …]
|
H A D | fopen_variation14.phpt | 23 $file = "fopen_variation14.tmp"; 96 --- READ: file://fopen14.tmpDir/fopen_variation14.tmp --- 101 --- WRITE: file://fopen14.tmpDir/fopen_variation14.tmp --- 106 --- READ: file://./fopen14.tmpDir/fopen_variation14.tmp --- 111 --- WRITE: file://./fopen14.tmpDir/fopen_variation14.tmp --- 116 --- READ: file:///%s/fopen14.tmpDir/fopen_variation14.tmp --- 118 --- WRITE: file:///%s/fopen14.tmpDir/fopen_variation14.tmp --- 120 --- READ: file://../fopen14.tmpDir/fopen_variation14.tmp --- 125 --- WRITE: file://../fopen14.tmpDir/fopen_variation14.tmp --- 130 --- READ: file:///%s/fopen14.tmpDir/fopen_variation14.tmp --- [all …]
|
H A D | fopen_variation15.phpt | 24 $file = "fopen_variation15.tmp"; 100 --- READ: file://fopen15.tmpDir/fopen_variation15.tmp --- 105 --- WRITE: file://fopen15.tmpDir/fopen_variation15.tmp --- 110 --- READ: file://./fopen15.tmpDir/fopen_variation15.tmp --- 115 --- WRITE: file://./fopen15.tmpDir/fopen_variation15.tmp --- 120 --- READ: file:///%s/fopen15.tmpDir/fopen_variation15.tmp --- 122 --- WRITE: file:///%s/fopen15.tmpDir/fopen_variation15.tmp --- 124 --- READ: file://../fopen15.tmpDir/fopen_variation15.tmp --- 129 --- WRITE: file://../fopen15.tmpDir/fopen_variation15.tmp --- 134 --- READ: file:///%s/fopen15.tmpDir/fopen_variation15.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 | is_file_variation1.phpt | 16 $filename = $file_path."/is_file_variation1.tmp"; 24 $file_handle = fopen( $file_path."/is_file_variation1.tmp", "r"); 27 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true 29 unlink($file_path."/is_file_variation1.tmp"); 33 fclose( fopen($file_path."/is_file_variation1.tmp", "w") ); 34 var_dump( is_file($file_path."/is_file_variation1.tmp") ); //expected true 36 unlink($file_path."/is_file_variation1.tmp"); 39 touch($file_path."/is_file_variation1.tmp"); 40 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true 42 unlink($file_path."/is_file_variation1.tmp");
|
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/");
|
/PHP-7.0/ext/standard/tests/dir/ |
H A D | scandir_variation4.phpt | 79 string(14) "level_one1.tmp" 81 string(14) "level_one2.tmp" 94 string(14) "level_two1.tmp" 96 string(14) "level_two2.tmp" 107 string(14) "level_one1.tmp" 109 string(14) "level_one2.tmp" 122 string(14) "level_two1.tmp" 124 string(14) "level_two2.tmp" 135 string(14) "level_one1.tmp" 137 string(14) "level_one2.tmp" [all …]
|
H A D | readdir_variation4.phpt | 146 string(9) "-10.5.tmp" 148 string(9) "-2345.tmp" 154 string(4) ".tmp" 156 string(7) "0.5.tmp" 158 string(5) "0.tmp" 162 string(5) "1.tmp" 164 string(8) "10.5.tmp" 166 string(9) "12345.tmp" 170 string(9) "Array.tmp" 172 string(15) "double_file.tmp" [all …]
|
/PHP-7.0/ext/soap/ |
H A D | soap.c | 149 zval *tmp; \ 1035 zval *tmp; in soap_create_typemap() local 1166 zval *tmp; in PHP_METHOD() local 2649 zval *tmp; local 2854 zval *tmp; local 2880 zval *tmp; local 3032 zval *tmp; local 3051 zval *tmp; local 3070 zval *tmp; local 3089 zval *tmp; local [all …]
|
/PHP-7.0/ext/ctype/ |
H A D | ctype.c | 146 zval *c, tmp; \ 155 tmp = *c; \ 156 zval_copy_ctor(&tmp); \ 157 convert_to_string(&tmp); \ 159 tmp = *c; \ 161 if (Z_TYPE(tmp) == IS_STRING) { \ 162 char *p = Z_STRVAL(tmp), *e = Z_STRVAL(tmp) + Z_STRLEN(tmp); \ 164 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ 169 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ 173 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \
|