doc-en
doc-en copied to clipboard
function curl_file_create is not in php manual
maybe function curl_file_create is not in php manual, i can not find it

$a = curl_file_create('run.php');
var_export($a);
in browser id seems like:

relative res: http://www.lvesu.com/blog/php/function.curl-file-create.php
It is mentioned in page :https://www.php.net/manual/zh/class.curlfile.php

curl_file_create() was documented as alias of CurlFile::__construct() which is not really true, so the page has been removed recently; the old URL https://www.php.net/manual/en/function.curl-file-create now redirects to CurlFile::__construct(), but that may not be sufficient. @kocsismate, what do you think about this? Note that e.g. date_create_immutable() also is documented as alias of DateTimeImmutable::__construct() although that is not really true.
what do you think about this?
IMO it is sufficient if the curl_file_create() function name is displayed on the CurlFile::__construct() page, just like now. However, the redirection is broken (at least currently visiting the first google search link for "php curl_file_create()" results in an error 404), this is to be fixed by my linked PR.
I'm not sure why the internal search tool didn't display curl_file_create() (it does for me).
I'm not sure why the internal search tool didn't display
curl_file_create()(it does for me).
I think the search index is still in the browser's local storage for you. Fixing the issue generally would require to adapt PhD (not exactly sure where, but AFAIK there is an sqlite database where the respective info is accumulated).