Commit graph

26134 commits

Author SHA1 Message Date
George Peter Banyard
1a20a2ec93 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350963 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-22 02:33:31 +00:00
Christoph Michael Becker
5b05e0c7e6 Remove confusing and apparently unrelated lines from example
This integrates user note 125445.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350957 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-20 13:46:53 +00:00
Christoph Michael Becker
52bf027d4c Don't use FQNs for types
Using fully qualified names for identifiers in the manual is uncommon;
at least identifiers of the global namespace are (almost) always
written unqualified.  Furthermore, FQNs are not supported by the auto-
linking of PhD.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350956 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-20 13:08:37 +00:00
Andrey Gromov
01a7e4684e Fixes from volunteers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350953 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-20 08:54:50 +00:00
Derick Rethans
f5acbfdba8 Updated to version 2020.3 (2020c)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350940 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-19 08:11:47 +00:00
Christoph Michael Becker
282140eb7d Note that the order of returned keys is deterministic
Patch contributed by Larry Garfield <larry@garfieldtech.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350939 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-19 07:35:23 +00:00
George Peter Banyard
ca309ab744 Add version information to methods of Error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350937 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-18 13:55:12 +00:00
Christoph Michael Becker
6cd5d527ff Fix #80252: Incorrect description of session_cache_expire()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350930 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-17 21:46:08 +00:00
Christoph Michael Becker
892e1c8921 Fix #72027: Mongodb driver
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350928 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-17 16:11:57 +00:00
Christoph Michael Becker
a6ecf96032 ssl:// and tls:// are still supported
These have been accidentially removed with r350333.  While we're at it,
we also remove the no longer relevant PHP 5 info.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350926 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-17 15:55:54 +00:00
Christoph Michael Becker
74d39a807a Minor amendment to safe_mode info removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350887 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-14 21:21:06 +00:00
Christoph Michael Becker
4691b6ddbd Enclose example code in PHP tag
Otherwise we don't get syntax highlighting.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350886 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-14 21:20:28 +00:00
George Peter Banyard
aee38ec9b5 Fix typo in opcache ini documentation
-- 
Provided by anonymous 318 (adrian.kinberger@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350882 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-14 16:58:52 +00:00
George Peter Banyard
d3b8e33937 Corrected Typo of position.
-- 
Provided by anonymous 619 (hitesh.b@reportgarden.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350881 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-14 16:45:38 +00:00
Christoph Michael Becker
dec1f8445a Remove safe_mode related information
Sorry, translators, for breaking your builds again.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350871 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 22:07:26 +00:00
Christoph Michael Becker
ab003724ad imap_sort() returns false on failure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350866 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 18:10:39 +00:00
Christoph Michael Becker
fc870e6f97 ext/imap is not thread-safe
Cf. <https://github.com/php/php-src/pull/6326#issuecomment-707763804>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350865 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 17:06:05 +00:00
Christoph Michael Becker
eb0c675cd5 Remove info about Windows 2000
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350864 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 16:38:14 +00:00
Christoph Michael Becker
60fc9f497a Remove some PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350863 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 16:31:50 +00:00
Christoph Michael Becker
513913468b parse_ini_file comment cleanup
* Explain limited value interpolation of reserved characters.
* Clarify that a constant value only works for the whole value.
* Clarify path evaluation of the file.
* Note magic constants are not interpolated.
* Add security note.

Patch contributed by Larry Garfield <larry@garfieldtech.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350855 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-12 21:57:55 +00:00
Christoph Michael Becker
83d6523933 Link to __serialize()/__unserialize() from Serializable
Those magic methods were introduced in php 7.4 to resolve some of the
limitations with __wakeup() or Serializable.

Patch contributed by Tyson Andre <tysonandre775@hotmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350854 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-12 21:48:27 +00:00
Christoph Michael Becker
a0ff7322e6 Fix #80219: OPENSSL_ZERO_PADDING's functionality is undocumented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350853 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-12 13:37:36 +00:00
Christoph Michael Becker
873035efec Properly document $bodies parameter of imap_mail_compose()
We also generally improve this manual page a bit.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350852 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-12 13:06:28 +00:00
Christoph Michael Becker
c598ef8927 Fix info about imap_mail_compose() custom_headers
This integrates user note 18244.  We also mark up the key names.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350832 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 16:32:02 +00:00
Christoph Michael Becker
83f2f6fa3a Fix #80209: setcookie() is not fully RFC 6265 compliant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350831 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 14:35:13 +00:00
Christoph Michael Becker
8e3b1a6c1f Remove confusing reference to PHP 5
One can also use `setrawcookie()` with PHP 7 and 8; it just wasn't
available with PHP 4.

We also remove the now obsolete note that `httponly` is available as of
PHP 5.2.0.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350830 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 14:20:49 +00:00
Christoph Michael Becker
6dc00c0480 Add imagecrop() to "see also" sections of imagecopy*()
Actually, the given examples of cropping and resizing, respectively, are
anachronistic; one would use imagecrop() and imagescale(), respectively,
nowadays.  As such they should be replaced with some still useful
examples.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350829 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 14:04:49 +00:00
Christoph Michael Becker
f85d380904 Normalize "see also" sections of image book according to skeletons
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350828 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 13:59:15 +00:00
Christoph Michael Becker
e12ed8b6aa Remove PHP 5 related info from image book
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350826 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 13:04:56 +00:00
Christoph Michael Becker
00232074c5 Fix #80207: DateTimeZone::getTransitions return array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350825 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 08:27:52 +00:00
Christoph Michael Becker
091d0f1d27 Fix #62813: imap_fetchstructure() manual claims to return "envelope" and "internal date"
While we're at it, we also integrate user note 116898 ("returns false on failure").


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350824 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 15:40:33 +00:00
Christoph Michael Becker
bab0d03aac Fix #73640: imap_search can't search HEADER
Well, libc-client is a wee bit old.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350823 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:53:47 +00:00
Christoph Michael Becker
67acb98dae Fix #63266: imap_utf8 may not convert to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350822 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:35:47 +00:00
Derick Rethans
f72a179cbe Updated to version 2020.2 (2020b)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350821 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:17:25 +00:00
Derick Rethans
67f4361d14 Updated to version 2020.2 (2020b)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350818 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:03:29 +00:00
Christoph Michael Becker
03eedf0ed1 Document new com.dotnet_version INI setting
Cf. <https://github.com/php/php-src/pull/5949>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350811 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-07 17:34:13 +00:00
Christoph Michael Becker
ac83c2c7d8 Return value of mb_regex_set_options() has changed
Cf. <https://github.com/php/php-src/pull/5264>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350810 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-07 17:28:26 +00:00
Christoph Michael Becker
3ec7b61315 Add preg_last_error_msg documentation
Patch contributed by Nicolas Oelgart <nicolas.oelgart@atrapalo.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350809 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-07 17:24:21 +00:00
Christoph Michael Becker
9418329a85 Document important changes due to bugfixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350808 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-07 16:36:13 +00:00
Christoph Michael Becker
796565fc11 odbc_result_all() does not escape the data
We can only hope that nobody uses this function.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350798 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 13:26:04 +00:00
Christoph Michael Becker
3e0354fcfc Fix #80191: Deprecated example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350797 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 11:52:01 +00:00
Christoph Michael Becker
df4203dcc5 Fix #45732: odbc.defaultlrl = 0 insufficiently documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350795 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 10:17:08 +00:00
Christoph Michael Becker
80872147aa Get rid of "callback" types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350788 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 09:11:05 +00:00
Tyson Andre
9b80b513b6 Fix typos in spl documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350777 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-05 17:53:00 +00:00
Tyson Andre
c01fa948e9 Fix typos in FFI\CData documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350776 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-05 17:40:07 +00:00
Christoph Michael Becker
a532689f9f Fix #80187: pack and unpack wrong return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350770 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-05 10:23:13 +00:00
Christoph Michael Becker
f56b0f1c24 Remove duplicate return values section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350757 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-04 12:12:20 +00:00
Christoph Michael Becker
ccfd117024 is_float() is deprecated and removed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350756 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-04 11:06:52 +00:00
Christoph Michael Becker
c0a11cfec1 Note case-sensitivity of the parameter name
Patch contributed by Larry Garfield <larry@garfieldtech.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350755 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-04 11:01:54 +00:00
Christoph Michael Becker
d862616201 Add FFI enum example
We also add a note regarding calling conventions.

Patch contributed by Szopen Xiao <chopins.xiao@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350751 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-02 09:08:07 +00:00