/PHP-5.3/sapi/phttpd/ |
H A D | phttpd.c | 206 char *tmp; in php_phttpd_request_ctor() 223 tmp = Ns_ConnAuthUser(NSG(conn)); in php_phttpd_request_ctor() 224 if(tmp) { in php_phttpd_request_ctor() 225 tmp = estrdup(tmp); in php_phttpd_request_ctor() 227 SG(request_info).auth_user = tmp; in php_phttpd_request_ctor() 229 tmp = Ns_ConnAuthPasswd(NSG(conn)); in php_phttpd_request_ctor() 230 if(tmp) { in php_phttpd_request_ctor() 231 tmp = estrdup(tmp); in php_phttpd_request_ctor() 233 SG(request_info).auth_password = tmp; in php_phttpd_request_ctor()
|
/PHP-5.3/ext/date/lib/ |
H A D | parse_tz.c | 266 if (tmp) { in seek_to_tz_position() 267 cur_locale = strdup(tmp); in seek_to_tz_position() 318 timelib_tzinfo *tmp; in timelib_parse_tzfile() local 324 read_header(&tzf, tmp); in timelib_parse_tzfile() 326 read_types(&tzf, tmp); in timelib_parse_tzfile() 329 tmp = NULL; in timelib_parse_tzfile() 332 return tmp; in timelib_parse_tzfile() 418 tmp->is_dst = to->isdst; in timelib_get_time_zone_info() 423 tmp->is_dst = 0; in timelib_get_time_zone_info() 431 tmp->offset = offset; in timelib_get_time_zone_info() [all …]
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | rename_variation2.phpt | 21 $filename = $file_path."/rename_variation2.tmp"; 26 $linkname = $file_path."/rename_variation_soft_link1.tmp"; 30 $dest_linkname = $file_path."/rename_variation_soft_link2.tmp"; 38 var_dump( rename($dest_linkname, $dest_dir."/rename_variation_soft_link2.tmp")); 42 var_dump( file_exists($dest_dir."/rename_variation_soft_link2.tmp") ); // expecting true 45 unlink($dest_dir."/rename_variation_soft_link2.tmp"); 52 unlink($file_path."/rename_variation2.tmp");
|
H A D | lstat_stat_variation3.phpt | 24 $fp = fopen("$file_path/lstat_stat_variation3.tmp", "w"); // temp file 28 symlink("$file_path/lstat_stat_variation3.tmp", "$file_path/lstat_stat_variation_link3.tmp"); 32 $old_linkname = "$file_path/lstat_stat_variation_link3.tmp"; 33 $new_linkname = "$file_path/lstat_stat_variation_link3a.tmp"; 53 unlink("$file_path/lstat_stat_variation3.tmp"); 54 unlink("$file_path/lstat_stat_variation_link3a.tmp");
|
H A D | 005_variation.phpt | 54 stat_fn("$file_path/005_variation1.tmp"); 59 stat_fn("$file_path/005_variation2.tmp"); 64 stat_fn("$file_path/005_variation3.tmp"); 67 unlink("$file_path/005_variation1.tmp"); 68 unlink("$file_path/005_variation2.tmp"); 69 unlink("$file_path/005_variation3.tmp"); 72 $file_name = "$file_path/005_variation1.tmp"; 114 $file_copy = "$file_path/005_variation_copy.tmp"; 169 unlink($file_path."/005_variation1.tmp"); 172 unlink($file_path."/005_variation_copy.tmp"); [all …]
|
H A D | file_get_contents_error.phpt | 26 $file_handle = fopen($file_path."/file_put_contents_error.tmp", "w"); 27 print( file_get_contents($file_path."/file1.tmp", false, $file_handle, 1, 2, "extra_argument") ); 30 var_dump( file_get_contents($file_path."/file1.tmp", FALSE, $file_handle, 0, -5) ); 34 unlink($file_path."/file_put_contents_error.tmp"); 41 if(file_exists($file_path."/file_put_contents_error.tmp")) { 42 unlink($file_path."/file_put_contents_error.tmp"); 44 if(file_exists($file_path."/file_put_contents1.tmp")) { 45 unlink($file_path."/file_put_contents1.tmp");
|
H A D | tempnam_variation5.phpt | 21 $h = fopen($dir_name."/tempnam_variation6.tmp", "w"); 25 $created_file = tempnam("$dir_name", "tempnam_variation6.tmp"); 38 unlink($dir_name."/tempnam_variation6.tmp"); 46 File name is => %stempnam_variation6%etempnam_variation6.tmp%s 48 File name is => %stempnam_variation6%etempnam_variation6.tmp%s 50 File name is => %stempnam_variation6%etempnam_variation6.tmp%s
|
H A D | copy_variation14.phpt | 16 $file = $file_path."/copy_variation14.tmp"; 21 var_dump( copy($file_path."/nosuchfile.tmp", $file_path."/copy_nosuchfile.tmp") ); //With non-exis… 22 var_dump( file_exists($file_path."/copy_nosuchfile.tmp") ); 25 var_dump( copy($file, $file_path."/nodir/copy_nosuchfile.tmp") ); //With non-existing dir path 26 var_dump( file_exists($file_path."/nodir/copy_nosuchfile.tmp") ); 34 unlink(dirname(__FILE__)."/copy_variation14.tmp");
|
H A D | rename_variation.phpt | 19 "$file_path/rename_variation/rename_variation.tmp", 22 "$file_path/rename_variation/rename_variation.tmp/", 25 "$file_path/rename_variation//rename_variation.tmp", 26 "$file_path//rename_variation//rename_variation.tmp", 29 /* loop through each $file and rename it to rename_variation2.tmp */ 32 $fp = fopen("$file_path/rename_variation/rename_variation.tmp", "w"); 34 $dest_filename = "$file_path/rename_variation2.tmp";
|
H A D | copy_variation1.phpt | 16 $src_file_name = $file_path."/copy_variation1.tmp"; 25 "copy.tmp", //regular file name 26 "copy_copy_variation1.tmp", 27 ".tmp", //file name only with extension 75 unlink(dirname(__FILE__)."/copy_variation1.tmp"); 86 Destination file name => %s/copy.tmp 93 Destination file name => %s/copy_copy_variation1.tmp 100 Destination file name => %s/.tmp 107 Destination file name => %s/123.tmp 128 Destination file name => %s/123copy_variation1.tmp [all …]
|
/PHP-5.3/ext/curl/tests/ |
H A D | bug61948-win32.phpt | 9 open_basedir="c:/tmp" 14 var_dump(curl_setopt($ch, CURLOPT_COOKIEFILE, "c:/tmp/foo")); 21 …opt(): open_basedir restriction in effect. File(c:/tmp/foo) is not within the allowed path(s): (c:… 24 …riction in effect. File(c:/xxx/bar) is not within the allowed path(s): (c:/tmp) in %sbug61948-win3…
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_debug_ini.phpt | 22 if (!$fp = @fopen('/tmp/mysqli_debug_phpt.trace', 'w')) 23 die("skip PHP cannot create a file in /tmp/mysqli_debug_phpt"); 26 @unlink("/tmp/mysqli_debug_phpt.trace"); 29 mysqlnd.debug="t:O,/tmp/mysqli_debug_phpt.trace" 37 $trace_file = '/tmp/mysqli_debug_phpt.trace'; 52 string(32) "t:O,/tmp/mysqli_debug_phpt.trace"
|
H A D | mysqli_stmt_send_long_data_packet_size_mysqlnd.phpt | 46 $tmp = ''; 48 $tmp = str_repeat('a', 1024); 51 $blob = str_repeat($tmp, $limit); 55 if (true !== ($tmp = mysqli_stmt_send_long_data($stmt, 1, $blob))) 57 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 83 if (false !== ($tmp = mysqli_stmt_send_long_data($stmt, 1, $blob2))) 85 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 88 if (false !== ($tmp = mysqli_stmt_execute($stmt))) 90 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
|
H A D | mysqli_stmt_bind_result.phpt | 15 $tmp = NULL; 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[002b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 50 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 53 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 215 $tmp = strval('99999999.99'); 240 $tmp = intval(@date('Y')); [all …]
|
H A D | mysqli_class_mysqli_result_interface.phpt | 82 assert(($tmp = mysqli_field_tell($res)) === $mysqli_result->current_field); 85 $tmp, gettype($tmp)); 87 assert(($tmp = mysqli_field_count($link)) === $mysqli_result->field_count); 90 $tmp, gettype($tmp)); 92 assert(($tmp = mysqli_fetch_lengths($res)) === $mysqli_result->lengths); 96 ((is_array($tmp)) ? implode(' ', $tmp) : 'n/a'), 97 gettype($tmp)); 99 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows); 102 $tmp, gettype($tmp)); 116 if (null !== ($tmp = @$res->num_rows)) [all …]
|
H A D | mysqli_fetch_object_oo.phpt | 13 $tmp = NULL; 18 if (!is_null($tmp = @$res->fetch_object())) 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 if (!is_null($tmp = @$res->fetch_object($link))) 31 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 if (!is_null($tmp = @$res->fetch_object($link, $link))) 34 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 if (!is_null($tmp = @$res->fetch_object($link, $link, $link))) 37 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_select_db.phpt | 14 $tmp = NULL; 17 if (!is_null($tmp = @mysqli_select_db())) 18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 if (!is_null($tmp = @mysqli_select_db($link))) 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 if (!is_null($tmp = @mysqli_select_db($link, $db, "foo"))) 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 103 if (NULL !== ($tmp = mysqli_select_db($link, $db))) 104 printf("[017] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_fields.phpt | 13 $tmp = NULL; 17 if (!is_null($tmp = @mysqli_fetch_fields())) 18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 if (!is_null($tmp = @mysqli_fetch_fields($link))) 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 52 if (NULL !== ($tmp = mysqli_fetch_fields($res))) 53 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_thread_safe.phpt | 10 if (!is_bool($tmp = mysqli_thread_safe())) 11 printf("[001] Expecting boolean/any, got %s/%s.\n", gettype($tmp), $tmp);
|
/PHP-5.3/tests/output/ |
H A D | bug63377.phpt | 20 $tmp = explode(":", $line); 21 $index = strtolower($tmp[0]); 22 $value = (int)ltrim($tmp[1], " ")*1024; 37 $tmp = explode(":", $line); 38 $index = strtolower($tmp[0]); 39 $value = trim($tmp[1], " ");
|
/PHP-5.3/sapi/apache_hooks/ |
H A D | sapi_apache.c | 67 char *tmp; in apache_php_module_hook() local 97 if( (tmp = strstr(handler->name, "::")) != NULL && *(tmp+2) != '\0' ) { in apache_php_module_hook() 100 *tmp = '\0'; in apache_php_module_hook() 104 ZVAL_STRING(method, tmp +2, 1); in apache_php_module_hook() 105 *tmp = ':'; in apache_php_module_hook()
|
/PHP-5.3/Zend/ |
H A D | zend_llist.c | 41 tmp->prev = l->tail; in zend_llist_add_element() 42 tmp->next = NULL; in zend_llist_add_element() 44 l->tail->next = tmp; in zend_llist_add_element() 46 l->head = tmp; in zend_llist_add_element() 48 l->tail = tmp; in zend_llist_add_element() 49 memcpy(tmp->data, element, l->size); in zend_llist_add_element() 59 tmp->next = l->head; in zend_llist_prepend_element() 60 tmp->prev = NULL; in zend_llist_prepend_element() 62 l->head->prev = tmp; in zend_llist_prepend_element() 64 l->tail = tmp; in zend_llist_prepend_element() [all …]
|
/PHP-5.3/ext/com_dotnet/ |
H A D | com_wrapper.c | 186 zval **tmp; in disp_getidsofnames() local 230 zval **tmp; in disp_getdispid() local 240 *pid = Z_LVAL_PP(tmp); in disp_getdispid() 461 zval *tmp; in generate_dispids() local 493 MAKE_STD_ZVAL(tmp); in generate_dispids() 498 MAKE_STD_ZVAL(tmp); in generate_dispids() 499 ZVAL_LONG(tmp, pid); in generate_dispids() 525 MAKE_STD_ZVAL(tmp); in generate_dispids() 530 MAKE_STD_ZVAL(tmp); in generate_dispids() 595 zval *tmp, **ntmp; in php_com_wrapper_export_as_sink() local [all …]
|
/PHP-5.3/ext/phar/tests/tar/files/ |
H A D | tarmaker.php.inc | 16 protected $tmp; 110 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512); 112 stream_copy_to_stream($fileOrStream, $this->tmp); 114 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512)); 117 fwrite($this->tmp, (binary)$fileOrStream); 119 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512)); 131 $this->tmp = gzopen($this->path, 'wb'); 134 $this->tmp = bzopen($this->path, 'w'); 137 $this->tmp = fopen($this->path, 'wb'); 166 fwrite($this->tmp, pack('a1024', '')); [all …]
|
/PHP-5.3/ext/mysql/tests/ |
H A D | mysql_fetch_field.phpt | 12 $tmp = NULL; 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 while ($tmp = mysql_fetch_field($res)) 34 var_dump($tmp); 35 var_dump($tmp); 43 printf("[006] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true)); 48 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), var_export($tmp, true)); 112 if ($type_desc[1] != $tmp->type) { 140 if ($tmp->name == 'id') { [all …]
|