/php-src/ext/standard/tests/file/ |
H A D | unlink_variation8.phpt | 106 -- removing unlinkVar8.tmp/file.tmp -- 112 -- removing ./unlinkVar8.tmp/file.tmp -- 118 -- removing unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 120 -- unlinking soft link unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 122 -- unlinking hard link unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 142 -- removing /%s/unlinkVar8.tmp/file.tmp -- 154 -- removing /%s/unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 156 -- unlinking soft link /%s/unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 158 -- unlinking hard link /%s/unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 169 -- removing unlinkVar8.tmp/file.tmp/ -- [all …]
|
H A D | bug39367.phpt | 12 unlink('/tmp/1link'); 13 unlink('/tmp/1tmp'); 14 unlink('/tmp/testfile1'); 16 file_put_contents('/tmp/testfile1', 'ok'); 17 symlink('/tmp/testfile1', '/tmp/1tmp'); 18 rename('/tmp/1tmp', '/tmp/1link'); 19 echo file_get_contents('/tmp/1link')."\n"; 21 unlink('/tmp/1link'); 26 unlink('/tmp/1link'); 27 unlink('/tmp/1tmp'); [all …]
|
H A D | touch_variation6-win32.phpt | 161 --- testing touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 162 PASSED: touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - created 173 --- testing %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 174 PASSED: %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - created 196 --- testing touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 197 PASSED: touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - touched 202 --- testing %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 203 PASSED: %s\touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - touched 216 --- testing touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile --- 217 PASSED: touchVar5.tmp\..\touchVar5.tmp\aSubDirOrFile - touched [all …]
|
H A D | touch_variation5.phpt | 155 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 156 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created 167 --- testing /%s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 168 PASSED: /%s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created 188 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 189 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched 194 --- testing /%s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 195 PASSED: /%s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched 206 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 207 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched [all …]
|
H A D | touch_variation5-win32.phpt | 156 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 157 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created 168 --- testing %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 169 PASSED: %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - created 189 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 190 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched 195 --- testing %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 196 PASSED: %s/touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched 207 --- testing touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile --- 208 PASSED: touchVar5.tmp/../touchVar5.tmp/aSubDirOrFile - touched [all …]
|
H A D | unlink_variation9-win32.phpt | 77 -- removing unlinkVar9.tmp\file.tmp -- 79 -- removing .\unlinkVar9.tmp\file.tmp -- 81 -- removing unlinkVar9.tmp\..\unlinkVar9.tmp\file.tmp -- 89 -- removing %s\unlinkVar9.tmp\file.tmp -- 91 -- removing %s\.\unlinkVar9.tmp\file.tmp -- 93 -- removing %s\unlinkVar9.tmp\..\unlinkVar9.tmp\file.tmp -- 98 -- removing unlinkVar9.tmp\file.tmp\ -- 101 -- removing %s\unlinkVar9.tmp\file.tmp\ -- 104 -- removing unlinkVar9.tmp\\file.tmp -- 106 -- removing %s\\unlinkVar9.tmp\\file.tmp -- [all …]
|
H A D | unlink_variation8-win32.phpt | 75 -- removing unlinkVar8.tmp/file.tmp -- 77 -- removing ./unlinkVar8.tmp/file.tmp -- 79 -- removing unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 81 -- removing unlinkVar8.tmp/../BADDIR/file.tmp -- 87 -- removing %s/unlinkVar8.tmp/file.tmp -- 89 -- removing %s/./unlinkVar8.tmp/file.tmp -- 91 -- removing %s/unlinkVar8.tmp/../unlinkVar8.tmp/file.tmp -- 96 -- removing unlinkVar8.tmp/file.tmp/ -- 99 -- removing %s/unlinkVar8.tmp/file.tmp/ -- 102 -- removing unlinkVar8.tmp//file.tmp -- [all …]
|
H A D | unlink_variation10.phpt | 15 $workDir = "unlinkVar10.tmp"; 16 $tmpDir = "subDir.tmp"; 79 -- unlinking soft link unlinkVar10.tmp/subDir.tmp -- 81 -- unlinking soft link ./unlinkVar10.tmp/subDir.tmp -- 83 -- unlinking soft link unlinkVar10.tmp/../unlinkVar10.tmp/subDir.tmp -- 85 -- unlinking soft link /%s/unlinkVar10.tmp/subDir.tmp -- 87 -- unlinking soft link /%s/./unlinkVar10.tmp/subDir.tmp -- 89 -- unlinking soft link /%s/unlinkVar10.tmp/../unlinkVar10.tmp/subDir.tmp -- 91 -- unlinking soft link unlinkVar10.tmp//subDir.tmp -- 93 -- unlinking soft link /%s//unlinkVar10.tmp//subDir.tmp -- [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_unicode.phpt | 19 printf("[004] Expecting фу\\\\бар, got %s\n", $tmp); 22 printf("[005] Expecting бар\"фус, got %s\n", $tmp); 25 printf("[006] Expecting лала'лали, got %s\n", $tmp); 31 printf("[008] Expecting \\r, got %s\n", $tmp); 39 printf("[010] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp)); 43 printf("[011] Expecting 富\\\\酒吧, got %s\n", $tmp); 46 printf("[012] Expecting 酒吧\"小题大做, got %s\n", $tmp); 49 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp); 52 printf("[014] Expecting 阿卜拉\\n轻, got %s\n", $tmp); 55 printf("[015] Expecting 张明安\\r在, got %s\n", $tmp); [all …]
|
H A D | mysqli_stmt_affected_rows.phpt | 30 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 47 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 69 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 89 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 115 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 125 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 135 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 142 printf("[027] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows.phpt | 19 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 31 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[019] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 73 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_change_user_oo.phpt | 21 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 24 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 37 $tmp = $res->fetch_assoc(); 39 if (1 != $tmp['test_var']) 43 printf("[012] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 47 $tmp = $res->fetch_assoc(); 52 if ($tmp['dbname'] != $db) 57 $tmp = $res->fetch_assoc(); 59 if (NULL !== $tmp['test_var']) [all …]
|
H A D | mysqli_info.phpt | 18 if (!is_null($tmp = mysqli_info($link)) || ('' != $tmp)) 19 printf("[004] Expecting null, got %s/%s\n", gettype($tmp), $tmp); 24 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp)) 25 printf("[006] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp); 30 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp)) 31 printf("[008] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp); 36 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp)) 42 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp)) 48 if (!is_null($tmp = mysqli_info($link)) || ('' != $tmp)) 49 printf("[014] Expecting null, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows_oo.phpt | 23 printf("[002] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[006] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[007] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 65 printf("[015] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); 71 printf("[016] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 77 printf("[018] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 83 printf("[020] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_explain_metadata.phpt | 34 $num_rows, gettype($tmp), $tmp); 38 $num_fields, gettype($tmp), $tmp); 43 $num_fields, gettype($tmp), $tmp); 73 $num_rows, gettype($tmp), $tmp); 77 $num_fields, gettype($tmp), $tmp); 81 $num_fields, gettype($tmp), $tmp); 85 $num_fields, gettype($tmp), $tmp); 90 $num_fields, gettype($tmp), $tmp); 106 $num_rows, gettype($tmp), $tmp); 113 $num_fields, gettype($tmp), $tmp); [all …]
|
H A D | mysqli_real_escape_string.phpt | 13 if ('\\\\' !== ($tmp = mysqli_real_escape_string($link, '\\'))) 14 printf("[004] Expecting \\\\, got %s\n", $tmp); 16 if ('\"' !== ($tmp = mysqli_real_escape_string($link, '"'))) 17 printf("[005] Expecting \", got %s\n", $tmp); 19 if ("\'" !== ($tmp = mysqli_real_escape_string($link, "'"))) 20 printf("[006] Expecting ', got %s\n", $tmp); 22 if ("\\n" !== ($tmp = mysqli_real_escape_string($link, "\n"))) 23 printf("[007] Expecting \\n, got %s\n", $tmp); 25 if ("\\r" !== ($tmp = mysqli_real_escape_string($link, "\r"))) 26 printf("[008] Expecting \\r, got %s\n", $tmp); [all …]
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | convert.c | 75 BC_VECTOR tmp; in bc_parse_chunk_chars() local 76 memcpy(&tmp, str, sizeof(tmp)); in bc_parse_chunk_chars() 78 tmp = BC_BSWAP(tmp); in bc_parse_chunk_chars() 84 tmp = lower_digits + upper_digits; in bc_parse_chunk_chars() 86 lower_digits = (tmp & 0x00ff0000) >> 16; in bc_parse_chunk_chars() 87 upper_digits = (tmp & 0x000000ff) * 100; in bc_parse_chunk_chars() 94 BC_VECTOR tmp; in bc_parse_chunk_chars() local 95 memcpy(&tmp, str, sizeof(tmp)); in bc_parse_chunk_chars() 97 tmp = BC_BSWAP(tmp); in bc_parse_chunk_chars() 103 tmp = lower_digits + upper_digits; in bc_parse_chunk_chars() [all …]
|
/php-src/ext/date/lib/ |
H A D | parse_posix.c | 240 return tmp; in read_trans_spec_mwd() 254 if (!tmp) { in read_transition_spec() 279 tmp->hour = -tmp->hour; in read_transition_spec() 282 return tmp; in read_transition_spec() 297 return tmp; in timelib_posix_trans_info_ctor() 330 if (!tmp->std) { in timelib_parse_posix_str() 345 return tmp; in timelib_parse_posix_str() 349 tmp->dst_offset = tmp->std_offset + 3600; in timelib_parse_posix_str() 352 if (!tmp->dst) { in timelib_parse_posix_str() 394 if (!tmp->dst_end) { in timelib_parse_posix_str() [all …]
|
/php-src/Zend/Optimizer/ |
H A D | zend_inference.c | 1168 tmp->min = MAX(constraint->range.min, tmp->min); in zend_inference_calc_range() 1178 tmp->max = MIN(constraint->range.max, tmp->max); in zend_inference_calc_range() 1241 return (tmp->min <= tmp->max); in zend_inference_calc_range() 1384 if (tmp->max > ZEND_LONG_MIN && !tmp->overflow) { in zend_inference_propagate_range() 1428 if (tmp->max > ZEND_LONG_MIN && !tmp->overflow) { in zend_inference_propagate_range() 1859 zend_inference_init_range(op_array, ssa, j, tmp.underflow, tmp.min, tmp.max, tmp.overflow); in zend_infer_ranges() 2557 tmp = 0; in _zend_update_type_info() 2596 tmp = 0; in _zend_update_type_info() 2743 tmp = 0; in _zend_update_type_info() 2871 tmp = 0; in _zend_update_type_info() [all …]
|
/php-src/main/ |
H A D | reentrancy.c | 117 if (tmp) { in php_localtime_r() 124 return tmp; in php_localtime_r() 133 char *tmp; in php_ctime_r() local 138 if (tmp) { in php_ctime_r() 140 tmp = buf; in php_ctime_r() 145 return tmp; in php_ctime_r() 154 char *tmp; in php_asctime_r() local 159 if (tmp) { in php_asctime_r() 161 tmp = buf; in php_asctime_r() 166 return tmp; in php_asctime_r() [all …]
|
/php-src/ext/standard/tests/streams/ |
H A D | bug46426.phpt | 6 $tmp = tmpfile(); 8 fwrite($tmp, "12345"); 10 echo stream_get_contents($tmp, 2, 1); 12 echo stream_get_contents($tmp, -1); 14 echo stream_get_contents($tmp, -1, 0); 16 echo stream_get_contents($tmp, -1, 2); 18 echo stream_get_contents($tmp, 0, 0); 20 echo stream_get_contents($tmp, 1, 0); 22 echo stream_get_contents($tmp, -1);
|
H A D | bug48309.phpt | 6 $tmp = tmpfile(); 7 fwrite($tmp, 'test'); 8 fseek($tmp, 0, SEEK_SET); 12 fseek($tmp, 0, SEEK_SET); 13 stream_copy_to_stream($tmp, STDOUT, 2); 16 var_dump(stream_get_contents($tmp)); 20 fseek($tmp, 0, SEEK_SET); 21 fpassthru($tmp); 24 var_dump(stream_get_contents($tmp));
|
/php-src/tests/lang/ |
H A D | bug21600.phpt | 7 $tmp = array(); 8 $tmp['foo'] = "test"; 9 $tmp['foo'] = &bar($tmp['foo']); 10 var_dump($tmp); 12 unset($tmp); 14 $tmp = array(); 15 $tmp['foo'] = "test"; 16 $tmp['foo'] = &fubar($tmp['foo']); 17 var_dump($tmp);
|
/php-src/ext/soap/ |
H A D | php_packet_soap.c | 187 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 192 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 199 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 211 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 212 tmp = get_node(tmp->children, "Value"); in parse_packet_soap() 213 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 219 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 221 tmp = get_node(tmp->children,"Text"); in parse_packet_soap() 222 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap() 260 zval tmp; in parse_packet_soap() local [all …]
|
/php-src/ext/spl/tests/SplFileObject/ |
H A D | bug75917.phpt | 10 $tmp = new SplTempFileObject(); 11 $tmp->setCsvControl(escape: ""); 13 $tmp->fputcsv($row); 15 $tmp->setFlags(0); 16 $tmp->seek(23); 17 var_dump($tmp->current()); 19 $tmp->setFlags(SplFileObject::READ_CSV | SplFileObject::SKIP_EMPTY); 20 $tmp->seek(23); 21 var_dump($tmp->current());
|