Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Commit 7c5fc6d

Browse files
authored
Automatically regenerate the files
1 parent 10d7cf0 commit 7c5fc6d

File tree

8 files changed

+46
-89
lines changed

8 files changed

+46
-89
lines changed

generated/curl.php

Lines changed: 16 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function curl_exec($handle)
8585
*
8686
*
8787
* CURLINFO_HTTP_CODE - The last response code.
88-
* As of PHP 5.5.0 and cURL 7.10.8, this is a legacy alias of
88+
* As of cURL 7.10.8, this is a legacy alias of
8989
* CURLINFO_RESPONSE_CODE
9090
*
9191
*
@@ -701,18 +701,6 @@ function curl_multi_init()
701701
*
702702
*
703703
*
704-
* CURLOPT_BINARYTRANSFER
705-
*
706-
* TRUE to return the raw output when
707-
* CURLOPT_RETURNTRANSFER is used.
708-
*
709-
*
710-
* From PHP 5.1.3, this option has no effect: the raw output will
711-
* always be returned when
712-
* CURLOPT_RETURNTRANSFER is used.
713-
*
714-
*
715-
*
716704
* CURLOPT_COOKIESESSION
717705
*
718706
* TRUE to mark this as a new cookie "session". It will force libcurl
@@ -733,7 +721,6 @@ function curl_multi_init()
733721
*
734722
*
735723
* Added in cURL 7.19.1.
736-
* Available since PHP 5.3.2.
737724
* Requires CURLOPT_VERBOSE to be on to have an effect.
738725
*
739726
*
@@ -746,7 +733,6 @@ function curl_multi_init()
746733
*
747734
*
748735
* Added in 7.15.2.
749-
* Available since PHP 5.5.0.
750736
*
751737
*
752738
*
@@ -912,7 +898,7 @@ function curl_multi_init()
912898
* the number of small packets on the network.
913899
*
914900
*
915-
* Available since PHP 5.2.1 for versions compiled with libcurl 7.11.2 or
901+
* Available for versions compiled with libcurl 7.11.2 or
916902
* greater.
917903
*
918904
*
@@ -948,7 +934,7 @@ function curl_multi_init()
948934
* TRUE to track the handle's request string.
949935
*
950936
*
951-
* Available since PHP 5.1.3. The CURLINFO_
937+
* The CURLINFO_
952938
* prefix is intentional.
953939
*
954940
*
@@ -986,7 +972,7 @@ function curl_multi_init()
986972
* FALSE to get the raw HTTP response body.
987973
*
988974
*
989-
* Available as of PHP 5.5.0 if built against libcurl >= 7.16.2.
975+
* Available if built against libcurl >= 7.16.2.
990976
*
991977
*
992978
*
@@ -1279,21 +1265,6 @@ function curl_multi_init()
12791265
*
12801266
*
12811267
*
1282-
* CURLOPT_CLOSEPOLICY
1283-
*
1284-
* One of the CURLCLOSEPOLICY_* values.
1285-
*
1286-
*
1287-
* This option is deprecated, as it was never implemented in cURL and
1288-
* never had any effect.
1289-
*
1290-
*
1291-
*
1292-
*
1293-
* Removed in PHP 5.6.0.
1294-
*
1295-
*
1296-
*
12971268
* CURLOPT_CONNECTTIMEOUT
12981269
*
12991270
* The number of seconds to wait while trying to connect. Use 0 to
@@ -1313,7 +1284,7 @@ function curl_multi_init()
13131284
* timeouts with a minimum timeout allowed of one second.
13141285
*
13151286
*
1316-
* Added in cURL 7.16.2. Available since PHP 5.2.3.
1287+
* Added in cURL 7.16.2.
13171288
*
13181289
*
13191290
*
@@ -1504,7 +1475,7 @@ function curl_multi_init()
15041475
* specific type of redirect occurs.
15051476
*
15061477
*
1507-
* Added in cURL 7.19.1. Available since PHP 5.3.2.
1478+
* Added in cURL 7.19.1.
15081479
*
15091480
*
15101481
*
@@ -1771,7 +1742,7 @@ function curl_multi_init()
17711742
* supports them. If set to 0 (default) keepalive probes are disabled.
17721743
*
17731744
*
1774-
* Added in cURL 7.25.0. Available since PHP 5.5.0.
1745+
* Added in cURL 7.25.0.
17751746
*
17761747
*
17771748
*
@@ -1783,7 +1754,7 @@ function curl_multi_init()
17831754
* The default is 60.
17841755
*
17851756
*
1786-
* Added in cURL 7.25.0. Available since PHP 5.5.0.
1757+
* Added in cURL 7.25.0.
17871758
*
17881759
*
17891760
*
@@ -1795,7 +1766,7 @@ function curl_multi_init()
17951766
* The default is 60.
17961767
*
17971768
*
1798-
* Added in cURL 7.25.0. Available since PHP 5.5.0.
1769+
* Added in cURL 7.25.0.
17991770
*
18001771
*
18011772
*
@@ -1833,7 +1804,7 @@ function curl_multi_init()
18331804
* timeouts with a minimum timeout allowed of one second.
18341805
*
18351806
*
1836-
* Added in cURL 7.16.2. Available since PHP 5.2.3.
1807+
* Added in cURL 7.16.2.
18371808
*
18381809
*
18391810
*
@@ -1868,7 +1839,7 @@ function curl_multi_init()
18681839
* Defaults to unlimited speed.
18691840
*
18701841
*
1871-
* Added in cURL 7.15.5. Available since PHP 5.4.0.
1842+
* Added in cURL 7.15.5.
18721843
*
18731844
*
18741845
*
@@ -1880,7 +1851,7 @@ function curl_multi_init()
18801851
* Defaults to unlimited speed.
18811852
*
18821853
*
1883-
* Added in cURL 7.15.5. Available since PHP 5.4.0.
1854+
* Added in cURL 7.15.5.
18841855
*
18851856
*
18861857
*
@@ -1921,16 +1892,13 @@ function curl_multi_init()
19211892
* CURLFTPMETHOD_SINGLECWD.
19221893
*
19231894
*
1924-
* Added in cURL 7.15.1. Available since PHP 5.3.0.
1895+
* Added in cURL 7.15.1.
19251896
*
19261897
*
19271898
*
19281899
*
19291900
*
19301901
*
1931-
* This option is deprecated, as it was never implemented in cURL and
1932-
* never had any effect.
1933-
*
19341902
* The HTTP authentication method(s) to use. The options are:
19351903
* CURLAUTH_BASIC,
19361904
* CURLAUTH_DIGEST,
@@ -2085,7 +2053,7 @@ function curl_multi_init()
20852053
* "RELOAD" loads all cookies from the files specified by CURLOPT_COOKIEFILE.
20862054
*
20872055
*
2088-
* Available since PHP 5.5.0 and cURL 7.14.1.
2056+
* Available since cURL 7.14.1.
20892057
*
20902058
*
20912059
*
@@ -2710,7 +2678,7 @@ function curl_multi_init()
27102678
* The user name to use in authentication.
27112679
*
27122680
*
2713-
* Added in cURL 7.19.1. Available since PHP 5.5.0.
2681+
* Added in cURL 7.19.1.
27142682
*
27152683
*
27162684
*
@@ -2865,7 +2833,7 @@ function curl_multi_init()
28652833
*
28662834
*
28672835
*
2868-
* Added in cURL 7.21.3. Available since PHP 5.5.0.
2836+
* Added in cURL 7.21.3.
28692837
*
28702838
*
28712839
*

generated/dir.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ function chdir(string $directory): void
3131
* only when using the CLI, CGI or Embed SAPI. Also, this function
3232
* requires root privileges.
3333
*
34+
* Calling this function does not change the values of the __DIR__
35+
* and __FILE__ magic constants.
36+
*
3437
* @param string $directory The path to change the root directory to.
3538
* @throws DirException
3639
*

generated/misc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ function hrtime(bool $as_number = false)
256256
*
257257
*
258258
* Z
259-
* NUL-padded string (new in PHP 5.5)
259+
* NUL-padded string
260260
*
261261
*
262262
* @

generated/openssl.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -801,15 +801,15 @@ function openssl_pkcs7_encrypt(string $input_filename, string $output_filename,
801801
/**
802802
*
803803
*
804-
* @param string $input_filename
805-
* @param array|null $certificates
804+
* @param string $data The string of data you wish to parse (p7b format).
805+
* @param array|null $certificates The array of PEM certificates from the p7b input data.
806806
* @throws OpensslException
807807
*
808808
*/
809-
function openssl_pkcs7_read(string $input_filename, ?array &$certificates): void
809+
function openssl_pkcs7_read(string $data, ?array &$certificates): void
810810
{
811811
error_clear_last();
812-
$result = \openssl_pkcs7_read($input_filename, $certificates);
812+
$result = \openssl_pkcs7_read($data, $certificates);
813813
if ($result === false) {
814814
throw OpensslException::createFromPhpError();
815815
}

generated/simplexml.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,11 @@ function simplexml_import_dom(\DOMNode $node, string $class_name = "SimpleXMLEle
3333
* Convert the well-formed XML document in the given file to an object.
3434
*
3535
* @param string $filename Path to the XML file
36-
*
37-
* Libxml 2 unescapes the URI, so if you want to pass e.g.
38-
* b&c as the URI parameter a,
39-
* you have to call
40-
* simplexml_load_file(rawurlencode('http://example.com/?a=' .
41-
* urlencode('b&c'))). Since PHP 5.1.0 you don't need to do
42-
* this because PHP will do it for you.
4336
* @param string $class_name You may use this optional parameter so that
4437
* simplexml_load_file will return an object of
4538
* the specified class. That class should extend the
4639
* SimpleXMLElement class.
47-
* @param int $options Since PHP 5.1.0 and Libxml 2.6.0, you may also use the
40+
* @param int $options Since Libxml 2.6.0, you may also use the
4841
* options parameter to specify additional Libxml parameters.
4942
* @param string $ns Namespace prefix or URI.
5043
* @param bool $is_prefix TRUE if ns is a prefix, FALSE if it's a URI;
@@ -73,7 +66,7 @@ function simplexml_load_file(string $filename, string $class_name = "SimpleXMLEl
7366
* simplexml_load_string will return an object of
7467
* the specified class. That class should extend the
7568
* SimpleXMLElement class.
76-
* @param int $options Since PHP 5.1.0 and Libxml 2.6.0, you may also use the
69+
* @param int $options Since Libxml 2.6.0, you may also use the
7770
* options parameter to specify additional Libxml parameters.
7871
* @param string $ns Namespace prefix or URI.
7972
* @param bool $is_prefix TRUE if ns is a prefix, FALSE if it's a URI;

generated/strings.php

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ function sha1_file(string $filename, bool $binary = false): string
256256
*
257257
*
258258
*
259-
* For g and G
259+
* For g, G,
260+
* h and H
260261
* specifiers: this is the maximum number of significant
261262
* digits to be printed.
262263
*
@@ -316,9 +317,6 @@ function sha1_file(string $filename, bool $binary = false): string
316317
* e
317318
*
318319
* The argument is treated as scientific notation (e.g. 1.2e+2).
319-
* The precision specifier stands for the number of digits after the
320-
* decimal point since PHP 5.2.1. In earlier versions, it was taken as
321-
* number of significant digits (one less).
322320
*
323321
*
324322
*
@@ -340,7 +338,6 @@ function sha1_file(string $filename, bool $binary = false): string
340338
*
341339
* The argument is treated as a float and presented
342340
* as a floating-point number (non-locale aware).
343-
* Available as of PHP 5.0.3.
344341
*
345342
*
346343
*
@@ -448,7 +445,7 @@ function sha1_file(string $filename, bool $binary = false): string
448445
* s
449446
*
450447
*
451-
* integer
448+
* int
452449
*
453450
* d,
454451
* u,
@@ -460,14 +457,16 @@ function sha1_file(string $filename, bool $binary = false): string
460457
*
461458
*
462459
*
463-
* double
460+
* float
464461
*
465-
* g,
466-
* G,
467462
* e,
468463
* E,
469464
* f,
470-
* F
465+
* F,
466+
* g,
467+
* G,
468+
* h,
469+
* H
471470
*
472471
*
473472
*
@@ -641,7 +640,8 @@ function substr(string $string, int $offset, int $length = null): string
641640
*
642641
*
643642
*
644-
* For g and G
643+
* For g, G,
644+
* h and H
645645
* specifiers: this is the maximum number of significant
646646
* digits to be printed.
647647
*
@@ -701,9 +701,6 @@ function substr(string $string, int $offset, int $length = null): string
701701
* e
702702
*
703703
* The argument is treated as scientific notation (e.g. 1.2e+2).
704-
* The precision specifier stands for the number of digits after the
705-
* decimal point since PHP 5.2.1. In earlier versions, it was taken as
706-
* number of significant digits (one less).
707704
*
708705
*
709706
*
@@ -725,7 +722,6 @@ function substr(string $string, int $offset, int $length = null): string
725722
*
726723
* The argument is treated as a float and presented
727724
* as a floating-point number (non-locale aware).
728-
* Available as of PHP 5.0.3.
729725
*
730726
*
731727
*
@@ -833,7 +829,7 @@ function substr(string $string, int $offset, int $length = null): string
833829
* s
834830
*
835831
*
836-
* integer
832+
* int
837833
*
838834
* d,
839835
* u,
@@ -845,14 +841,16 @@ function substr(string $string, int $offset, int $length = null): string
845841
*
846842
*
847843
*
848-
* double
844+
* float
849845
*
850-
* g,
851-
* G,
852846
* e,
853847
* E,
854848
* f,
855-
* F
849+
* F,
850+
* g,
851+
* G,
852+
* h,
853+
* H
856854
*
857855
*
858856
*

0 commit comments

Comments
 (0)