/PHP-7.4/ext/gd/ |
H A D | gd.c | 2676 char *fn = NULL; in _php_image_output() local 2694 fn = file; in _php_image_output() 2704 PHP_GD_CHECK_OPEN_BASEDIR(fn, "Invalid filename"); in _php_image_output() 2706 fp = VCWD_FOPEN(fn, "wb"); in _php_image_output() 2708 php_error_docref(NULL, E_WARNING, "Unable to open '%s' for writing", fn); in _php_image_output()
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 147 + if (fn) { 336 if ((fn = magic_getpath(fn, action)) == NULL) 343 + if (fn == NULL) 345 + if (fn == NULL) { 370 fn = p; 404 + ms->file = fn; 410 fn); 944 - if (asprintf(&buf, "%.*s.mime%s", CAST(int, q - fn), fn, ext) 960 - if (asprintf(&buf, "%.*s%s", CAST(int, q - fn), fn, ext) < 0) 1990 if (fn == NULL) [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_API.c | 2884 zend_function *fn; in zend_disable_class() local 2897 ZEND_HASH_FOREACH_PTR(&disabled_class->function_table, fn) { in zend_disable_class() 2898 if ((fn->common.fn_flags & (ZEND_ACC_HAS_RETURN_TYPE|ZEND_ACC_HAS_TYPE_HINTS)) && in zend_disable_class() 2899 fn->common.scope == disabled_class) { in zend_disable_class() 2900 zend_free_internal_arg_info(&fn->internal_function); in zend_disable_class()
|
H A D | zend_compile.c | 7044 binary_op_type fn = get_binary_op(opcode); in zend_try_ct_eval_binary_op() local 7064 fn(result, op1, op2); in zend_try_ct_eval_binary_op() 7071 unary_op_type fn = get_unary_op(opcode); in zend_ct_eval_unary_op() local 7072 fn(result, op); in zend_ct_eval_unary_op() 7086 binary_op_type fn = kind == ZEND_AST_GREATER in zend_ct_eval_greater() local 7088 fn(result, op2, op1); in zend_ct_eval_greater()
|
H A D | zend_inheritance.c | 689 return fn->common.type == ZEND_USER_FUNCTION ? fn->op_array.line_start : 0; in func_lineno() 1607 ZSTR_VAL(fn->common.scope->name), ZSTR_VAL(fn->common.function_name), in zend_add_trait_method() 1615 fn->common.prototype = NULL; in zend_add_trait_method() 1639 fn->common.scope = ce; in zend_fixup_trait_method() 1644 if (fn->type == ZEND_USER_FUNCTION && fn->op_array.static_variables) { in zend_fixup_trait_method() 1669 fn_copy = *fn; in zend_traits_copy_functions() 1682 aliases[i] = fn->common.scope; in zend_traits_copy_functions() 1716 aliases[i] = fn->common.scope; in zend_traits_copy_functions() 1869 zend_function *fn; in zend_do_traits_method_binding() local 1897 zend_fixup_trait_method(fn, ce); in zend_do_traits_method_binding() [all …]
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapilib.c | 2261 LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachOrgHeader_r() argument 2270 if ( !pReq || !fn ) in LSAPI_ForeachOrgHeader_r() 2337 LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachHeader_r() argument 2344 if ( !pReq || !fn ) in LSAPI_ForeachHeader_r() 2393 ret = (*fn)( achHeaderName, keyLen, in LSAPI_ForeachHeader_r() 2409 if ( !pEnv || !fn ) in EnvForeach() 2413 ret = (*fn)( pEnv->pKey, pEnv->keyLen, in EnvForeach() 2426 if ( !pReq || !fn ) in LSAPI_ForeachEnv_r() 2431 fn, arg ); in LSAPI_ForeachEnv_r() 2440 if ( !pReq || !fn ) in LSAPI_ForeachSpecialEnv_r() [all …]
|
H A D | lsapilib.h | 160 LSAPI_CB_EnvHandler fn, void * arg ); 163 LSAPI_CB_EnvHandler fn, void * arg ); 166 LSAPI_CB_EnvHandler fn, void * arg ); 169 LSAPI_CB_EnvHandler fn, void * arg ); 284 static inline int LSAPI_ForeachHeader( LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachHeader() argument 285 { return LSAPI_ForeachHeader_r( &g_req, fn, arg ); } in LSAPI_ForeachHeader() 288 LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachOrgHeader() argument 289 { return LSAPI_ForeachOrgHeader_r( &g_req, fn, arg ); } in LSAPI_ForeachOrgHeader() 291 static inline int LSAPI_ForeachEnv( LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachEnv() argument 292 { return LSAPI_ForeachEnv_r( &g_req, fn, arg ); } in LSAPI_ForeachEnv() [all …]
|
/PHP-7.4/ext/intl/tests/ |
H A D | bug80763.phpt | 12 array_walk($params, fn() => 1);
|
/PHP-7.4/ext/soap/ |
H A D | php_sdl.c | 1539 static sdlPtr get_sdl_from_cache(const char *fn, const char *uri, time_t t, time_t *cached) in get_sdl_from_cache() argument 1554 f = open(fn, O_RDONLY|O_BINARY); in get_sdl_from_cache() 1571 unlink(fn); in get_sdl_from_cache() 1579 unlink(fn); in get_sdl_from_cache() 1587 unlink(fn); in get_sdl_from_cache() 2108 static void add_sdl_to_cache(const char *fn, const char *uri, time_t t, sdlPtr sdl) in add_sdl_to_cache() argument 2123 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache() 2125 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache() 3166 char fn[MAXPATHLEN]; in get_sdl() local 3182 } else if (VCWD_REALPATH(uri, fn) == NULL) { in get_sdl() [all …]
|
H A D | soap.c | 2605 sdlFunctionPtr fn; local 2676 fn = get_function(sdl, function); 2677 if (fn != NULL) { 2678 sdlBindingPtr binding = fn->binding; 2681 if (fn->responseName == NULL && 2682 fn->responseParameters == NULL && 2691 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes; 2692 …request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_ve… 2695 …request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_v… 2704 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NULL, return_value, …
|
/PHP-7.4/Zend/tests/ |
H A D | closure_061.phpt | 82 foreach ($tests as list($fn, $bindings)) { 83 if (is_array($fn)) { 84 $r = new ReflectionMethod($fn[0], $fn[1]); 85 $c = $r->getClosure(is_object($fn[0]) ? $fn[0] : null); 86 $fnStr = is_object($fn[0]) ? "(new " . get_class($fn[0]) . ")->$fn[1]" : "$fn[0]::$fn[1]"; 88 $c = (new ReflectionFunction($fn))->getClosure(); 89 $fnStr = $fn; 91 if ($fn instanceof Closure) {
|
/PHP-7.4/ext/ffi/ |
H A D | ffi.c | 3400 zend_string *fn; in ZEND_METHOD() local 3405 Z_PARAM_STR(fn) in ZEND_METHOD() 3413 ffi = zend_ffi_load(ZSTR_VAL(fn), (CG(compiler_options) & ZEND_COMPILE_PRELOAD) != 0); in ZEND_METHOD()
|
/PHP-7.4/ |
H A D | UPGRADING | 31 . "fn" is now a reserved keyword. In particular, it can no longer be used as a 210 $nums = array_map(fn($num) => $num * $factor, $nums);
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | zend_cfg.c | 274 zend_function *fn; in zend_build_cfg() local 331 if ((fn = zend_hash_find_ptr(EG(function_table), Z_STR_P(zv))) != NULL) { in zend_build_cfg() 332 if (fn->type == ZEND_INTERNAL_FUNCTION) { in zend_build_cfg()
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_handlers.c | 421 #define POPULATE_CTOR(f, fn) \ in com_constructor_get() argument 428 f.handler = ZEND_FN(fn); \ in com_constructor_get()
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | tempnam_variation5-win32.phpt | 16 /* Passing an existing file as $prefix for tempnam() fn */
|
/PHP-7.4/ext/standard/tests/file/windows_mb_path/ |
H A D | test_big5_0.phpt | 28 $fn = $prefix . DIRECTORY_SEPARATOR . "$item"; 30 $f = fopen($fn, 'r');
|
H A D | test_big5_2.phpt | 28 $fn = $prefix . DIRECTORY_SEPARATOR . "{$item}25"; 30 $f = fopen($fn, 'w'); 38 var_dump(file_get_contents($fn)); 40 get_basename_with_cp($fn, 950); 42 var_dump(unlink($fn));
|
H A D | test_kartuli_utf8_0.phpt | 25 $fn = $prefix . DIRECTORY_SEPARATOR . $item; 27 $f = fopen($fn, 'r');
|
H A D | test_kartuli_utf8_2.phpt | 25 $fn = $prefix . DIRECTORY_SEPARATOR . "${item}33"; 27 $f = fopen($fn, 'w'); 35 var_dump(file_get_contents($fn)); 37 get_basename_with_cp($fn, 65001);
|
H A D | test_kartuli_utf8_3.phpt | 26 $fn = $prefix . DIRECTORY_SEPARATOR . $item; 28 var_dump($fn); 29 var_dump(touch($fn)); 30 var_dump(file_exists($fn)); 31 system("dir /b " . $fn);
|
H A D | test_cp936_to_utf8_0.phpt | 25 $fn = $prefix . DIRECTORY_SEPARATOR . "$item"; 27 $f = fopen($fn, 'r');
|
H A D | test_cp936_to_utf8_2.phpt | 25 $fn = $prefix . DIRECTORY_SEPARATOR . "{$item}25"; 27 $f = fopen($fn, 'w'); 35 var_dump(file_get_contents($fn)); 37 get_basename_with_cp($fn, 65001); 39 var_dump(unlink($fn));
|
H A D | test_eucjp_to_utf8_0.phpt | 25 $fn = $prefix . DIRECTORY_SEPARATOR . $item; 27 $f = fopen($fn, 'r');
|
/PHP-7.4/ext/ffi/tests/ |
H A D | 301-win32.phpt | 11 $fn = __DIR__ . "/300-win32.h"; 15 file_get_contents("$fn.in") 17 file_put_contents($fn, $cont); 19 $ffi = FFI::load($fn); 24 $fn = __DIR__ . "/300-win32.h"; 25 unlink($fn);
|