/PHP-7.0/ext/com_dotnet/ |
H A D | com_com.c | 82 zval *tmp; in PHP_FUNCTION() local 88 convert_to_string_ex(tmp); in PHP_FUNCTION() 96 convert_to_string_ex(tmp); in PHP_FUNCTION() 103 convert_to_string_ex(tmp); in PHP_FUNCTION() 104 password = Z_STRVAL_P(tmp); in PHP_FUNCTION() 110 convert_to_string_ex(tmp); in PHP_FUNCTION() 117 convert_to_long_ex(tmp); in PHP_FUNCTION() 428 zval *tmp; in php_com_get_id_of_name() local 457 zval tmp; in php_com_get_id_of_name() local 464 ZVAL_LONG(&tmp, *dispid); in php_com_get_id_of_name() [all …]
|
/PHP-7.0/ext/mysqli/tests/ |
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_thread_safe.phpt | 10 if (!is_bool($tmp = mysqli_thread_safe())) 11 printf("[001] Expecting boolean/any, got %s/%s.\n", gettype($tmp), $tmp);
|
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_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); 58 if (NULL !== ($tmp = mysqli_fetch_fields($res))) 59 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_driver.phpt | 17 if (($tmp = $driver->client_info) !== $client_info) 20 gettype($tmp), $tmp); 23 if (($tmp = $driver->client_version) !== $client_version) 26 gettype($tmp), $tmp); 28 if (!is_int($tmp = $driver->driver_version) || (0 == $tmp)) 30 gettype($tmp), $tmp); 63 $tmp = $e->getTrace(); 64 if (empty($tmp))
|
H A D | mysqli_free_result.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_free_result())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_free_result($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_poll_kill.phpt | 28 …if (true !== ($tmp = mysqli_query($link, "SELECT 1 AS 'processed before killed'", MYSQLI_ASYNC | … 29 printf("[002] Expecting boolean/true got %s/%s\n", gettype($tmp), var_export($tmp, true)); 41 if (1 !== ($tmp = (mysqli_poll($links, $errors, $reject, 0, 10000)))) 42 printf("[003] Expecting int/1 got %s/%s\n", gettype($tmp), var_export($tmp, true)); 68 if (0 !== ($tmp = mysqli_poll($links, $errors, $reject, 1))) 70 gettype($tmp), var_export($tmp, true)); 84 if (true !== ($tmp = mysqli_query($link, "SELECT 1", MYSQLI_ASYNC | MYSQLI_USE_RESULT))) 85 printf("[011] Expecting boolean/true got %s/%s\n", gettype($tmp), var_export($tmp, true)); 151 printf("[017] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true)); 157 if (0 !== ($tmp = (mysqli_poll($links, $errors, $reject, 0, 10000)))) [all …]
|
/PHP-7.0/ext/standard/tests/file/ |
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 …]
|
H A D | rename_variation6.phpt | 11 $tmp_file = __FILE__.".tmp"; 12 $tmp_link = __FILE__.".tmp.link"; 13 $tmp_link2 = __FILE__.".tmp.link2"; 34 string(%d) "%srename_variation6.php.tmp"
|
/PHP-7.0/Zend/ |
H A D | zend_llist.c | 40 tmp->prev = l->tail; in zend_llist_add_element() 41 tmp->next = NULL; in zend_llist_add_element() 43 l->tail->next = tmp; in zend_llist_add_element() 45 l->head = tmp; in zend_llist_add_element() 47 l->tail = tmp; in zend_llist_add_element() 48 memcpy(tmp->data, element, l->size); in zend_llist_add_element() 58 tmp->next = l->head; in zend_llist_prepend_element() 59 tmp->prev = NULL; in zend_llist_prepend_element() 61 l->head->prev = tmp; in zend_llist_prepend_element() 63 l->tail = tmp; in zend_llist_prepend_element() [all …]
|
H A D | zend_API.c | 1415 zval tmp; in add_index_long() local 1424 zval tmp; in add_index_null() local 1433 zval tmp; in add_index_bool() local 1442 zval tmp; in add_index_resource() local 1451 zval tmp; in add_index_double() local 1460 zval tmp; in add_index_str() local 1469 zval tmp; in add_index_string() local 1478 zval tmp; in add_index_stringl() local 1493 zval tmp; in add_next_index_long() local 1502 zval tmp; in add_next_index_null() local [all …]
|
/PHP-7.0/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 …]
|
H A D | corrupt_tarmaker.php.inc | 16 protected $tmp; 118 fwrite($this->tmp, $block . $checksum . $blockend, 512); 120 stream_copy_to_stream($fileOrStream, $this->tmp); 122 fwrite($this->tmp, str_repeat("\0", 512 - $stat['size'] % 512)); 125 fwrite($this->tmp, $fileOrStream); 127 fwrite($this->tmp, str_repeat("\0", 512 - strlen($fileOrStream) % 512)); 139 $this->tmp = gzopen($this->path, 'wb'); 142 $this->tmp = bzopen($this->path, 'w'); 145 $this->tmp = fopen($this->path, 'wb'); 174 fwrite($this->tmp, pack('a1024', '')); [all …]
|
H A D | make.dangerous.tar.php.inc | 17 protected $tmp; 111 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512); 113 stream_copy_to_stream($fileOrStream, $this->tmp); 115 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512)); 118 fwrite($this->tmp, (binary)$fileOrStream); 120 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512)); 132 $this->tmp = gzopen($this->path, 'wb'); 135 $this->tmp = bzopen($this->path, 'w'); 138 $this->tmp = fopen($this->path, 'wb'); 167 fwrite($this->tmp, pack('a1024', '')); [all …]
|
/PHP-7.0/Zend/tests/ |
H A D | bug66660.phpt | 7 file_put_contents(__DIR__."/bug66660.tmp.php", "<?php __CLASS__ ?>"); 8 echo php_strip_whitespace(__DIR__."/bug66660.tmp.php"); 11 <?php unlink(__DIR__."/bug66660.tmp.php"); ?>
|
/PHP-7.0/ext/standard/tests/dir/ |
H A D | readdir_basic.phpt | 62 string(9) "file1.tmp" 63 string(9) "file2.tmp" 64 string(9) "file3.tmp" 70 string(9) "file1.tmp" 71 string(9) "file2.tmp" 72 string(9) "file3.tmp"
|
H A D | scandir_variation10.phpt | 38 var_dump(in_array('file1.tmp', $files)); 39 var_dump(in_array('file2.tmp', $files)); 60 string(9) "file1.tmp" 62 string(9) "file2.tmp" 66 string(9) "file2.tmp" 68 string(9) "file1.tmp"
|
/PHP-7.0/main/ |
H A D | php_ticks.c | 55 struct st_tick_function tmp = {func, arg}; in php_add_tick_function() local 56 zend_llist_add_element(&PG(tick_functions), (void *)&tmp); in php_add_tick_function() 61 struct st_tick_function tmp = {func, arg}; in php_remove_tick_function() local 62 …zend_llist_del_element(&PG(tick_functions), (void *)&tmp, (int(*)(void*, void*))php_compare_tick_f… in php_remove_tick_function()
|
/PHP-7.0/sapi/apache2handler/ |
H A D | php_functions.c | 370 char tmp[1024]; in PHP_MINFO_FUNCTION() local 403 snprintf(tmp, sizeof(tmp), "%d", MODULE_MAGIC_NUMBER); in PHP_MINFO_FUNCTION() 404 php_info_print_table_row(2, "Apache API Version", tmp); in PHP_MINFO_FUNCTION() 410 snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port); in PHP_MINFO_FUNCTION() 411 php_info_print_table_row(2, "Hostname:Port", tmp); in PHP_MINFO_FUNCTION() 415 …snprintf(tmp, sizeof(tmp), "%s(%d)/%d", ap_unixd_config.user_name, ap_unixd_config.user_id, ap_uni… in PHP_MINFO_FUNCTION() 417 …snprintf(tmp, sizeof(tmp), "%s(%d)/%d", unixd_config.user_name, unixd_config.user_id, unixd_config… in PHP_MINFO_FUNCTION() 419 php_info_print_table_row(2, "User/Group", tmp); in PHP_MINFO_FUNCTION() 424 php_info_print_table_row(2, "Max Requests", tmp); in PHP_MINFO_FUNCTION() 426 apr_snprintf(tmp, sizeof tmp, in PHP_MINFO_FUNCTION() [all …]
|
/PHP-7.0/win32/ |
H A D | wsyslog.c | 85 char *tmp = NULL; in syslog() local 106 vspprintf(&tmp, 0, message, args); /* build message */ in syslog() 108 strs[1] = tmp; /* then the message */ in syslog() 112 efree(tmp); in syslog()
|
/PHP-7.0/ext/calendar/ |
H A D | easter.c | 33 zend_long year, golden, solar, lunar, pfm, dom, tmp, easter, result; in _cal_easter() local 93 tmp = (4-pfm-dom) % 7; in _cal_easter() 94 if (tmp < 0) { in _cal_easter() 95 tmp += 7; in _cal_easter() 98 easter = pfm + tmp + 1; /* Easter as the number of days after 21st March */ in _cal_easter()
|