Commit graph

26398 commits

Author SHA1 Message Date
Christoph M. Becker
a7a4315d42 Add .gitignore to ignore generated entities.*.xml files 2020-12-30 18:26:10 +01:00
Peter Cowburn
a5f69d2d8a typofixes for IntlDateFormatter::getLocale() 2020-12-30 14:53:05 +00:00
Peter Cowburn
a733bff5ff typofix in uopz_flags() example 2020-12-30 14:50:24 +00:00
Peter Cowburn
4034dfe043 typofix in imageaffinematrixget() example 2020-12-30 14:47:52 +00:00
Tyson Andre
ed1c33aa04 Make SplFixedArray intro say it can be resized
SplFixedArray::setSize exists. The name is misleading.

Closes GH-293
2020-12-30 09:45:14 -05:00
Kamil Tekiela
4774ba9dba Incorrect value in include. Patch provided by anonymous 992 via edit.php.net
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352283 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-29 17:55:33 +00:00
Kamil Tekiela
72880807af Fix double full stop in several places.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352282 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-29 17:43:02 +00:00
Christoph Michael Becker
591040cf0c Fix description of gmp_init()'s $base parameter
Actually, bases up to 62 are supported, and also binary prefixes.  We also clarify
the alphabet for bases greater than 36.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352270 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-29 13:24:43 +00:00
Christoph Michael Becker
57c47965ff Generate missing FFI methodsynopses based on stubs
Closes GH-284.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352253 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 18:37:59 +00:00
Christoph Michael Becker
265acc36ee Generate posix methodsynopses based on stubs
Closes GH-220.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352252 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 18:01:18 +00:00
Christoph Michael Becker
2f493dfdc2 Remove obsolete info from SNMP book
UCD SNMP is long gone, and we're requiring at least NET-SNMP nowadays.  We also
remove obsolete PHP 5 related info.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352251 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 17:42:40 +00:00
Christoph Michael Becker
1bd0fbbce1 Generate snmp methodsynopses based on stubs
Closes GH-214.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352248 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 17:08:39 +00:00
Christoph Michael Becker
b3d23714c2 Fix #80399: Using PharData to create TAR files is super slow (at least 10x slower)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352243 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 15:14:38 +00:00
Christoph Michael Becker
f467e89228 Fix #80430: openssl_encrypt() is not verifying that key is present or not
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352242 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 14:37:01 +00:00
Christoph Michael Becker
ef81c708fa Fix #80486: Undocumented backward incompatible change between 7.4.8 and 7.4.9
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352241 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 14:07:20 +00:00
Christoph Michael Becker
3e2bff7191 Document what is a valid BCMath number
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352240 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 13:53:51 +00:00
Christoph Michael Becker
b23d3f10b8 Fix #80554: Documentation for BCMath
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352239 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 13:04:38 +00:00
Christoph Michael Becker
38e583cf8e Update Git build requirements
Cf. <https://github.com/php/php-src/pull/6516>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352238 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 12:54:36 +00:00
Christoph Michael Becker
c40f07c937 Fix #80247: ReflectionType does not have an isBuiltin() method
Closes GH-273.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352224 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 23:23:02 +00:00
Christoph Michael Becker
26a93ee76c Restore overloaded signature of max() and min()
Cf. <7c9687a07a (commitcomment-45455504)>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352221 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 21:15:42 +00:00
Christoph Michael Becker
6f4648f6b9 Generate some FFI methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/284>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352217 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 19:35:39 +00:00
Christoph Michael Becker
1d11e386eb Update dns_get_record() methodsynopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352215 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 18:46:35 +00:00
Christoph Michael Becker
8c5fdb928b Update methodsynopses of (v)sprintf()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352213 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 18:36:21 +00:00
Christoph Michael Becker
7c9687a07a Update methodsynopses of min() and max()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352211 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 18:09:26 +00:00
Christoph Michael Becker
9c4c971826 Generate dba methodsynopses based on stubs
Closes GH-283.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352209 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 17:43:56 +00:00
Christoph Michael Becker
9a9533d480 Bring back Soap __construct() methods
The change from `<methodsynopsis>` to `<constructorsynopsis>` requires to
include the latter as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352204 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 15:47:37 +00:00
Christoph Michael Becker
40d440e3fd Generate soap methodsynopses based on stubs
Closes GH-287.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352202 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 14:46:15 +00:00
Yoshinari Takaoka
5422475dd2 fixed definition using parameter name.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352197 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 02:27:13 +00:00
Yoshinari Takaoka
c4e4e1a999 fixed difinition using parameter name.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352196 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 02:22:37 +00:00
Yoshinari Takaoka
83f96a23fc fixed equation by using parameter name.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352195 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 02:09:09 +00:00
Christoph Michael Becker
4d4301be41 create_function has been removed in PHP 8
Closes GH-290.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352192 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:34:18 +00:00
Christoph Michael Becker
0c9c2dd669 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352191 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:26:31 +00:00
Christoph Michael Becker
a331ac8a86 Generate sapi methodsynopses based on stubs
Closes GH-285.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352190 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 14:27:07 +00:00
Christoph Michael Becker
902c2b77f8 Generate odbc methodsynopses based on stubs
Closes GH-286.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352189 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 14:11:36 +00:00
Christoph Michael Becker
fd71d9c2d9 Generate sodium methodsynopses based on stubs
Closes GH-288.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352185 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 12:53:42 +00:00
Christoph Michael Becker
038bdb1d98 Remove introductory MySQLi example
This example does not use modern best practices to avoid security issues
(prepared statements, proper output escaping), and is heavily criticized for
that.  Fixing that would make the introductory example even more complex;
turning that section into a small tutorial (what was likely the original
intent) would make sense, but apparently nobody ever worked on that, so we
remove this example section altogether.

Cf. <https://github.com/php/doc-en/pull/278>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352184 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 11:55:03 +00:00
Yoshinari Takaoka
260c0b8f4d Fixed oop return type of DateTimeInterface::getOffset.
Closes CH-282.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352182 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 10:20:49 +00:00
Christoph Michael Becker
7f5f26fab6 Add missing modifiers to XMLReader::XML()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352172 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-22 17:57:03 +00:00
Christoph Michael Becker
2550f62c6a Fix #80543: ArrayObject::asort() and ::ksort() expect an optional int
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352168 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-22 16:28:26 +00:00
Christoph Michael Becker
e1e96098db Fix #80542: Missing information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352166 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-22 11:49:50 +00:00
Kamil Tekiela
ce753ccd3d Doc Bug #72393 mysqli_stmt_field_count undocumented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352160 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-21 23:07:01 +00:00
George Peter Banyard
e132ef28fd Fix Attribute constant name in title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352158 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-21 16:17:18 +00:00
George Peter Banyard
ad08d7c566 Minor nits to English docs provided by anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352156 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-21 16:09:00 +00:00
Christoph Michael Becker
0ec192da9f date_timestamp_get() and aliases do no longer return false on failure
Cf. <b67c232189 (r45293163)>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352146 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 22:35:30 +00:00
Christoph Michael Becker
4d5206538d Fix return types
All these aliases may return false.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352145 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 18:36:10 +00:00
Christoph Michael Becker
9d45296587 Calling (gm)mktime() without arguments is deprecated as of PHP 7.0.0
We drop the duplicate notes section, but instead of moving the information down
to the end of the page, we add it to the function description.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352144 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 16:18:40 +00:00
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