Christoph Michael Becker
34188f8256
Generate ext/date methodsynopses based on stubs
...
Closes GH-185.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352143 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 15:06:41 +00:00
Christoph Michael Becker
4473119c07
Revert revision 352076 from phpdoc/en/trunk/reference/mysqli:
...
MySQL's utf8 has *at* *most* 3 byte per codepoint
........
As pointed out by dharman, the new info is wrong.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352139 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-19 16:46:03 +00:00
Christoph Michael Becker
de8b75ccb6
$num_points parameter of image*polygon() is now optional
...
Cf. <https://github.com/php/php-src/pull/4885 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352128 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-19 00:10:21 +00:00
Christoph Michael Becker
b86704d0f7
Clarify that phar.require_hash does not provide security
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352124 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-18 16:03:28 +00:00
Christoph Michael Becker
45c7531e42
Fix #66777 : strftime returns empty string when input fmt string exceeds 1024
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352122 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-18 12:37:56 +00:00
Christoph Michael Becker
d9466fcf93
Fix #80526 : Typo in the example
...
Closes GH-280.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352117 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-17 13:18:46 +00:00
Christoph Michael Becker
bcf13bff7b
Fix PharData inheritance
...
As the comment notes, PharData does not extend Phar. However, in the meantime
the PharData methods have been documented, so there is no need to additionally
list the Phar methods.
We also document that PharData implements Countable and ArrayAccess.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352110 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-16 14:06:42 +00:00
Christoph Michael Becker
5055b86ea5
Fix class name
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352109 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-16 13:48:04 +00:00
Christoph Michael Becker
487660f1b4
Fix Phar signature info
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352108 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-16 13:14:29 +00:00
Christoph Michael Becker
24436aff58
Add missing PharData method visibility modifiers
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352107 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-16 13:11:27 +00:00
George Peter Banyard
37be0e0626
Mimic 'Alternative signature' prompt for setcookie in other functions which set cookies
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352083 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 23:19:07 +00:00
George Peter Banyard
c35c07ab6a
Changelog section should be before examples section
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352082 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 23:14:55 +00:00
George Peter Banyard
f88b2cc042
Fix minor errors, provided by anonymous users.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352079 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 22:36:00 +00:00
Christoph Michael Becker
565b5f3de9
Fix example output for PHP 7.0.0 and up
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352077 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 20:10:29 +00:00
Christoph Michael Becker
d2dd88a60c
MySQL's utf8 has *at* *most* 3 byte per codepoint
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352076 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 19:14:32 +00:00
Christoph Michael Becker
ee4558e955
utf8 has been deprecated for past 10 years
...
Closes GH-252.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352075 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 19:07:56 +00:00
Christoph Michael Becker
e9f972da69
Remove obsolete Phar information
...
Phar 2.0.0 has been released 2009-07-29, so older versions are certainly
no longer relevant for the PHP manual.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352054 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-13 16:38:57 +00:00
Christoph Michael Becker
43130349a3
Remove obsolete GMP info
...
PHP 7.0 requires GMP 4.2 anyway.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352053 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-13 13:02:26 +00:00
Yoshinari Takaoka
50d9745e66
fixed missing paramater replacement.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352047 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-13 01:27:32 +00:00
Christoph Michael Becker
039ab719e6
Generate gmp methodsynopses based on stubs
...
Closes GH-225.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352046 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-13 00:15:23 +00:00
Christoph Michael Becker
053609a5c9
Updating mysqli: free result
...
Closes GH-240.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352045 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 22:26:28 +00:00
Christoph Michael Becker
b9ba4fca83
Updating mysqli: Remove pre-deprecation notice
...
Closes GH-247.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352044 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 22:15:36 +00:00
Yoshinari Takaoka
02177b182e
fixed example comment to be consistent with methodsynopses.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352042 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 19:06:45 +00:00
Christoph Michael Becker
71c12b1583
set_error_handler: clarify callback parameters and PHP 8.0 changes
...
Closes GH-276.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352038 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 18:36:18 +00:00
Christoph Michael Becker
a3db55f0df
Fix order of sections
...
Also, one example section is enough.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352035 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 18:11:57 +00:00
Yoshinari Takaoka
0dc8bbd88c
fixed typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352034 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 17:50:48 +00:00
Yoshinari Takaoka
9240fafbb2
s/regs/matches/g
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352032 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 17:35:43 +00:00
Yoshinari Takaoka
1187e24a84
deleted duplicate changelog entry.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352031 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 17:17:34 +00:00
Christoph Michael Becker
92f1b8b177
Generate ext/mbstring methodsynopses based on stubs
...
Closes GH-190.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352028 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 16:32:35 +00:00
Philip Olson
2b36b46bae
Remove autogenerated file
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352018 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 20:18:33 +00:00
Christoph Michael Becker
750d32e66a
Add fdiv()
...
Closes GH-258.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352017 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 19:33:08 +00:00
Christoph Michael Becker
e02014aa56
PharFileInfo should list inherited methods
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352013 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 16:27:00 +00:00
Christoph Michael Becker
e8af4bab45
Add createFromInterface() for DateTime objects
...
Closes GH-257.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352009 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 23:12:47 +00:00
Christoph Michael Becker
b8cfcc5411
Clarify compression formats
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352002 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 18:26:55 +00:00
Christoph Michael Becker
32f3a5a59f
json_decode: better explanation and example of 'depth' parameter
...
Closes GH-275.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352001 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 16:10:08 +00:00
Christoph Michael Becker
8c2f198903
php_user_filter::__construct is not called
...
Cf. <https://bugs.php.net/75931 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352000 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 14:42:18 +00:00
Christoph Michael Becker
d5fafb8e37
Fix #70819 : bzflush() is a null function
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351993 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 12:32:07 +00:00
Christoph Michael Becker
77a10b00e3
Fix #80501 : Stats function documentation has gone
...
The documentation of the stats extension has been removed in r350644
assuming that the extension would not be compatible with PHP 7; that
assumption was wrong, so we need to restore the docs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351991 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 11:14:23 +00:00
Christoph Michael Becker
457888c6bc
Update ext/ldap signatures to match PHP-8
...
Closes GH-242.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351984 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 23:20:37 +00:00
Christoph Michael Becker
8ce54b1eee
Fix #80500 : pg_fetch_result returns type is wrong according to the doc
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351978 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 17:29:01 +00:00
Christoph Michael Becker
d54819610d
Fix #80230 : Doc for exec specifies & (reference) param, fails
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351975 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 15:46:49 +00:00
Christoph Michael Becker
728b7a9bc0
Fix #80449 : setcookie doc improvement
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351968 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 12:17:23 +00:00
Christoph Michael Becker
412052d434
Fix instances of siginfo and signinfo being used interchangably on pcntl_signal page
...
Closes GH-274.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351964 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 11:35:54 +00:00
Christoph Michael Becker
82c84a325e
Add PhpToken reference
...
Closes GH-272.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351961 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-08 19:04:41 +00:00
Christoph Michael Becker
76f8c0151d
Update ext/ldap signatures to match PHP-8
...
Partial merge of <https://github.com/php/doc-en/pull/242 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351955 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-08 00:13:38 +00:00
Christoph Michael Becker
3ae0b14dd0
Fix #79126 : empty() documentation does not mention SimpleXML objects from empty tags
...
To avoid duplication, we refer to falsey values instead.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351947 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-07 14:40:21 +00:00
Christoph Michael Becker
80858f3bd0
Add new IntlDateFormatter constants
...
Closes GH-267.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351939 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 23:34:08 +00:00
Christoph Michael Becker
5f8047c12b
Document new opaque classes which replace resources
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351932 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 22:11:40 +00:00
Christoph Michael Becker
7b0a4b69ba
Fix typo
...
Patch provided by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351925 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 16:18:34 +00:00
Christoph Michael Becker
8b12549bff
Remove some PHP 5 specific info
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351924 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 14:45:00 +00:00