diff --git a/reference/curl/functions/curl-setopt.xml b/reference/curl/functions/curl-setopt.xml
index 564961b098..970734f59b 100644
--- a/reference/curl/functions/curl-setopt.xml
+++ b/reference/curl/functions/curl-setopt.xml
@@ -465,21 +465,6 @@
-
- CURLOPT_SAFE_UPLOAD
-
- &true; to disable support for the @ prefix for
- uploading files in CURLOPT_POSTFIELDS, which
- means that values starting with @ can be safely
- passed as fields. CURLFile may be used for
- uploads instead.
-
-
- Added in PHP 5.5.0 with &false; as the default value. PHP 5.6.0
- changes the default value to &true;. PHP 7 removes this option;
- the CURLFile interface must be used to upload files.
-
-
CURLOPT_SASL_IR
@@ -1546,10 +1531,7 @@
The full data to post in a HTTP "POST" operation.
- To post a file, prepend a filename with @ and
- use the full path. The filetype can be explicitly specified by
- following the filename with the type in the format
- ';type=mimetype'. This parameter can either be
+ This parameter can either be
passed as a urlencoded string like 'para1=val1¶2=val2&...'
or as an array with the field name as key and field data as value.
If value is an array, the
@@ -1557,15 +1539,8 @@
multipart/form-data.
- As of PHP 5.2.0, value must be an array if
- files are passed to this option with the @ prefix.
-
-
- As of PHP 5.5.0, the @ prefix is deprecated and
- files can be sent using CURLFile. The
- @ prefix can be disabled for safe passing of
- values beginning with @ by setting the
- CURLOPT_SAFE_UPLOAD option to &true;.
+ Files can be sent using CURLFile,
+ in which case value must be an array.
@@ -2392,55 +2367,6 @@ curl_close($ch);
-
-
- Uploading file (deprecated as of PHP 5.5.0)
-
- 'Foo', 'file' => '@/home/user/test.png');
-
-curl_setopt($ch, CURLOPT_URL, 'http://localhost/upload.php');
-curl_setopt($ch, CURLOPT_POST, 1);
-curl_setopt($ch, CURLOPT_SAFE_UPLOAD, false); // required as of PHP 5.6.0
-curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
-
-curl_exec($ch);
-?>
-]]>
-
- &example.outputs;
-
- Foo
-)
-Array
-(
- [file] => Array
- (
- [name] => test.png
- [type] => image/png
- [tmp_name] => /tmp/phpcpjNeQ
- [error] => 0
- [size] => 279
- )
-
-)
-
-]]>
-
-
-