Commit graph

26020 commits

Author SHA1 Message Date
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
Christoph Michael Becker
029ab30c40 Fix #80168: Warning on using second arg for imagexbm
We also add a changelog entry regarding the 4th parameter, which is unused,
and removed as of PHP 8.0.0.  We do not yet document the PHP 8.0.0 signature
due to yet missing union type support, though.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350742 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-01 15:20:06 +00:00
Christoph Michael Becker
7d4c08228e Fix #80166: preg_match_all()'s PREG_OFFSET_CAPTURE ignoring modifier u
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350739 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-01 12:19:02 +00:00
Christoph Michael Becker
cf92e336ab Document PDO_ODBC driver specific options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350737 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-01 11:30:01 +00:00
Christoph Michael Becker
ef5d3c54ff Fix #78111: Some PDO drivers don't have any version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350723 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-30 21:33:14 +00:00
Christoph Michael Becker
a7bdc593b7 Remove PDO_4D documentation
The extension had its latest release (0.3 beta) in 2009, and is obviously
unmaintained.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350722 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-30 21:17:30 +00:00
Christoph Michael Becker
f9f8f46e83 Fix bug #77861: Incorrect syntax for "include_path"?
We should use the Unix directory separator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350721 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-30 19:20:14 +00:00
Philip Olson
22c3c11204 Mention that altering a collection means it won't be seen as a collection; as per oracle bug #31155571
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350720 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-30 19:10:12 +00:00
Christoph Michael Becker
e293d971f5 Clarify assignability of $this
Cf. <https://wiki.php.net/rfc/this_var>.

Integrates user notes 107080 and 123802.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350719 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-30 15:32:28 +00:00
Christoph Michael Becker
242efce0dc Fix #73158: fann_create_train_from_callback exist in doc but not in function
fann_create_train_from_callback() and several other functions are only
available when compiled against libfann 2.2.0 or higher.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350718 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-30 14:31:35 +00:00
Christoph Michael Becker
866a2e7e54 Fix #80148: ctype_* functions silently return false for unsupported types
The ctype_* functions actually accept string|int, but union types are
not yet properly supported by PhD, so we're using mixed.  We also move
the note regarding integers up into the parameter description.







git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350717 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-30 12:13:54 +00:00
Christoph Michael Becker
b92a33c51c Fix #80164: Example says "see changelog" but there's no changelog
That example refers to a changelog entry which stated that E_ALL is
available as of PHP 5.4.0.  Since the documenation does no longer
document PHP 5, that referral has to be removed.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350716 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-30 12:05:41 +00:00
Christoph Michael Becker
e61d2217d5 Document BC breaking change in handling of incoming cookie names
CVE-2020-7070

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350707 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-29 10:30:38 +00:00
Christoph Michael Becker
ca47781c2d Update dbase parameter names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350685 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-27 13:25:27 +00:00
Christoph Michael Becker
e443388d42 Remove info about SAPIs which are removed as of PHP 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350661 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 16:56:25 +00:00