/PHP-5.5/ext/dba/ |
H A D | install_cdb.sh | 35 mkdir -p tmp || exit 1 36 cd tmp 49 rm -rf tmp
|
/PHP-5.5/ext/sockets/ |
H A D | sockaddr_conv.c | 18 struct in6_addr tmp; in php_set_inet6_addr() local 25 if (inet_pton(AF_INET6, string, &tmp)) { in php_set_inet6_addr() 26 memcpy(&(sin6->sin6_addr.s6_addr), &(tmp.s6_addr), sizeof(struct in6_addr)); in php_set_inet6_addr() 87 struct in_addr tmp; in php_set_inet_addr() local 90 if (inet_aton(string, &tmp)) { in php_set_inet_addr() 91 sin->sin_addr.s_addr = tmp.s_addr; in php_set_inet_addr()
|
/PHP-5.5/ext/posix/tests/ |
H A D | posix_mkfifo_safemode.phpt | 4 …empts to enable safe_mode, catches all the relevant E_WARNING's and tries to create a fifo in /tmp. 6 The first attempt (writing to /tmp) should effectively fail because /tmp is owned by root. 26 var_dump(posix_mkfifo('/tmp/foobar', 0644)); 42 …striction in effect. The script whose uid is %d is not allowed to access /tmp owned by uid %d in …
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | 006_basic.phpt | 9 $filename = dirname(__FILE__)."/006_root_check.tmp"; 33 fopen($path."/perm.tmp", "w"); 34 var_dump( chmod($path."/perm.tmp", 0755 ) ); 35 printf("%o", fileperms($path."/perm.tmp") ); 49 unlink(dirname(__FILE__)."/perm.tmp");
|
H A D | rename_variation6-win32.phpt | 15 $tmp_file = __FILE__.".tmp"; 16 $tmp_link = __FILE__.".tmp.link"; 17 $tmp_link2 = __FILE__.".tmp.link2"; 38 string(%d) "%srename_variation6-win32.php.tmp"
|
H A D | rename_variation11-win32.phpt | 26 $fromFile = "renameMe.tmp"; 27 $toFile = "IwasRenamed.tmp"; 95 ….\\..\renameVar11Sub\renameMe.tmp,%s\renameVar11\renameVar11Sub\..\\\renameVar11Sub\\..\\..\rename… 100 …e(%s\renameVar11\renameVar11Sub\BADDIR\renameMe.tmp,%s\renameVar11\renameVar11Sub\BADDIR\IwasRenam… 121 Warning: rename(BADDIR\renameMe.tmp,BADDIR\IwasRenamed.tmp): The system cannot find the path specif…
|
H A D | rename_variation12-win32.phpt | 27 $fromFile = "renameMe.tmp"; 28 $toFile = "IwasRenamed.tmp"; 92 ….//../renameVar11Sub/renameMe.tmp,%s/renameVar11/renameVar11Sub/..///renameVar11Sub//..//../rename… 97 …e(%s/renameVar11/renameVar11Sub/BADDIR/renameMe.tmp,%s/renameVar11/renameVar11Sub/BADDIR/IwasRenam… 118 Warning: rename(BADDIR/renameMe.tmp,BADDIR/IwasRenamed.tmp): The system cannot find the path specif…
|
H A D | 005_variation-win32.phpt | 51 stat_fn("$file_path/005_variation1.tmp"); 56 stat_fn("$file_path/005_variation2.tmp"); 61 stat_fn("$file_path/005_variation3.tmp"); 64 unlink("$file_path/005_variation1.tmp"); 65 unlink("$file_path/005_variation2.tmp"); 66 unlink("$file_path/005_variation3.tmp"); 69 $file_name = "$file_path/005_variation1.tmp"; 99 $file_copy = "$file_path/005_variation_copy.tmp"; 149 unlink($file_path."/005_variation1.tmp"); 150 unlink($file_path."/005_variation_copy.tmp"); [all …]
|
H A D | copy_variation15.phpt | 8 $filename = dirname(__FILE__)."/copy_variation15_root_check.tmp"; 29 $file = $file_path."/copy_variation15.tmp"; 41 $dest = $dir."/copy_copy_variation15.tmp"; 43 var_dump( copy($file, $dir."/copy_copy_variation15.tmp") ); 44 var_dump( file_exists($dir."/copy_copy_variation15_dir.tmp") ); 54 unlink(dirname(__FILE__)."/copy_variation15.tmp");
|
H A D | copy_variation9.phpt | 9 $filename = dirname(__FILE__)."/copy_variation9_root_check.tmp"; 30 $src_file_name = $file_path."/copy_variation9.tmp"; 35 $dest_file_name = $file_path."/copy_copy_variation9.tmp"; 45 chmod($file_path."/copy_copy_variation9.tmp", 0555); //No write permissions 56 unlink(dirname(__FILE__)."/copy_copy_variation9.tmp"); 57 unlink(dirname(__FILE__)."/copy_variation9.tmp");
|
H A D | rename_variation2-win32.phpt | 22 $fp = fopen($file_path."/rename_variation.tmp", "w"); 26 var_dump( rename($file_path."/rename_variation.tmp", $file_path."/12345") ); 29 var_dump( file_exists($file_path."/rename_variation.tmp" ) ); // expecting false 48 unlink($file_path."/rename_variation_link.tmp"); 49 unlink($file_path."/rename_variation.tmp");
|
H A D | file_error.phpt | 12 $file_handle = fopen($file_path."/file.tmp", "w"); 15 $filename = $file_path."/file.tmp"; 21 var_dump( file("temp.tmp") ); // non existing filename 29 unlink($file_path."/file.tmp"); 44 Warning: file(temp.tmp): failed to open stream: No such file or directory in %s on line %d
|
/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_oracle_nulls.phpt | 15 $tmp = array(); 16 if (false !== @$db->setAttribute(PDO::ATTR_ORACLE_NULLS, $tmp)) 19 $tmp = new stdClass(); 20 if (false !== @$db->setAttribute(PDO::ATTR_ORACLE_NULLS, $tmp)); 61 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 62 if ($tmp != $expected) { 64 var_export($expected, true), var_export($tmp, true)); 70 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 71 if ($tmp != $expected) { 73 var_export($expected, true), var_export($tmp, true));
|
H A D | pdo_mysql___construct_options_libmysql.phpt | 23 if (!is_object($db) || (!$ignore_diff && ($value !== ($tmp = @$db->getAttribute($option))))) 27 $tmp, gettype($tmp), 56 $tmp = @$db->getAttribute($option); 57 if ($tmp !== $defaults[$option]) 60 $tmp, gettype($tmp));
|
/PHP-5.5/ext/spl/tests/ |
H A D | iterator_035.phpt | 6 $tmp = 1; 9 $a[] = $tmp; 10 $a[] = &$tmp;
|
/PHP-5.5/ext/standard/ |
H A D | cyr_convert.c | 207 unsigned char tmp; in php_convert_cyr_string() local 263 tmp = (from_table == NULL)? str[i] : from_table[ str[i] ]; in php_convert_cyr_string() 264 str[i] = (to_table == NULL) ? tmp : to_table[tmp + 256]; in php_convert_cyr_string()
|
/PHP-5.5/ext/standard/tests/network/ |
H A D | unixloop.phpt | 11 if (file_exists("/tmp/$uniqid.sock")) 15 $server = stream_socket_server("unix:///tmp/$uniqid.sock"); 21 $client = stream_socket_client("unix:///tmp/$uniqid.sock"); 40 unlink("/tmp/$uniqid.sock");
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_bt.c | 45 if (zend_hash_find(ht, key, sizeof(key), (void**)&tmp) == SUCCESS) { \ 46 TRACE_APPEND_STRL(Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); \ 156 zval **file, **tmp; in mysqlnd_build_trace_string() local 174 if (zend_hash_find(ht, "line", sizeof("line"), (void**)&tmp) == SUCCESS) { in mysqlnd_build_trace_string() 175 line = Z_LVAL_PP(tmp); in mysqlnd_build_trace_string() 190 if (zend_hash_find(ht, "args", sizeof("args"), (void**)&tmp) == SUCCESS) { in mysqlnd_build_trace_string() 192 …zend_hash_apply_with_arguments(Z_ARRVAL_PP(tmp) TSRMLS_CC, (apply_func_args_t)mysqlnd_build_trace_… in mysqlnd_build_trace_string()
|
/PHP-5.5/ext/standard/tests/dir/ |
H A D | readdir_variation6.phpt | 70 string(23) "readdir_variation61.tmp" 71 string(23) "readdir_variation62.tmp" 72 string(23) "readdir_variation63.tmp" 77 string(23) "readdir_variation61.tmp" 78 string(23) "readdir_variation62.tmp" 79 string(23) "readdir_variation63.tmp"
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_debug_append.phpt | 25 …if (true !== ($tmp = mysqli_debug(sprintf('d:t:O,%s/mysqli_debug_phpt.trace', sys_get_temp_dir()))… 26 printf("[001] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 53 if (true !== ($tmp = mysqli_debug(sprintf('d:a,%s', $trace_file)))) 54 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 65 if (true !== ($tmp = mysqli_debug(sprintf('d:A,%s', $trace_file)))) 66 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_fetch_object_oo.phpt | 14 $tmp = NULL; 19 if (!is_null($tmp = @$res->fetch_object())) 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 if (!is_null($tmp = @$res->fetch_object($link))) 32 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 if (!is_null($tmp = @$res->fetch_object($link, $link))) 35 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 if (!is_null($tmp = @$res->fetch_object($link, $link, $link))) 38 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
/PHP-5.5/Zend/ |
H A D | zend_hash.h | 311 register const char *tmp = key; \ in END_EXTERN_C() 313 if (*tmp == '-') { \ in END_EXTERN_C() 314 tmp++; \ in END_EXTERN_C() 316 if (*tmp >= '0' && *tmp <= '9') { /* possibly a numeric index */ \ in END_EXTERN_C() 321 || (end - tmp > MAX_LENGTH_OF_LONG - 1) /* number too long */ \ in END_EXTERN_C() 323 end - tmp == MAX_LENGTH_OF_LONG - 1 && \ in END_EXTERN_C() 324 *tmp > '2')) { /* overflow */ \ in END_EXTERN_C() 327 idx = (*tmp - '0'); \ in END_EXTERN_C() 328 while (++tmp != end && *tmp >= '0' && *tmp <= '9') { \ in END_EXTERN_C() 329 idx = (idx * 10) + (*tmp - '0'); \ in END_EXTERN_C() [all …]
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_events.c | 216 struct fpm_event_queue_s *q, *tmp; in fpm_event_queue_destroy() local 228 tmp = q; in fpm_event_queue_destroy() 231 free(tmp); in fpm_event_queue_destroy() 377 struct timeval tmp; in fpm_event_loop() local 407 timersub(&ms, &now, &tmp); in fpm_event_loop() 408 timeout = (tmp.tv_sec * 1000) + (tmp.tv_usec / 1000) + 1; in fpm_event_loop() 488 struct timeval tmp; in fpm_event_add() local 510 tmp.tv_sec = frequency / 1000; in fpm_event_add() 513 tmp.tv_sec = 0; in fpm_event_add() 514 tmp.tv_usec = frequency * 1000; in fpm_event_add() [all …]
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_get_client_info.phpt | 16 if (!is_null($tmp = @mysql_get_client_info("too many arguments"))) { 17 printf("[003] Expecting NULL/NULL got %s/%s\n", $tmp, gettype($tmp));
|
/PHP-5.5/Zend/tests/ |
H A D | bug30998.phpt | 14 $f = fopen("/tmp/blah", "r"); 18 fopen(/tmp/blah): failed to open stream: %s (2) in %s:%d 20 Warning: fopen(/tmp/blah): failed to open stream: %s in %s on line %d
|