Christoph Michael Becker
ee08edd259
Clarify that $_GET is not only populated for GET requests
...
Inspired by a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345582 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-01 11:19:05 +00:00
Christoph Michael Becker
db2ac1420f
Use magic constant
...
Patch provided by Nicolas Lefevre.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345581 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-01 10:57:31 +00:00
Christoph Michael Becker
27b04f9647
Fix example
...
Patch provided by anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345545 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-22 12:40:49 +00:00
Christoph Michael Becker
851a8dd812
Fix typo
...
Patch provided by hpr895.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345529 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-18 16:54:00 +00:00
Christoph Michael Becker
27c8a224e0
Fix comment
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345447 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-08 13:53:32 +00:00
Pieter Hordijk
d62fd8edf7
each is deprecated, should be removed from the page
...
https://bugs.php.net/bug.php?id=76673
Provided by anon
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345401 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-27 10:52:29 +00:00
Christoph Michael Becker
4c276c97e1
Fix #76606 : Widespread regression with Serializable interface and legacy __wakeup method
...
We revert revision 339383. While this info was valid for PHP 5.1.0 up to
PHP 5.4.28 and 5.5.12, respectively, it is no longer, and as such it's
rather confusing.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345303 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-11 12:53:51 +00:00
Christoph Michael Becker
482bc1d69c
Clarify behavior of generator (functions)
...
Patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345249 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-30 11:56:50 +00:00
Christoph Michael Becker
c60cc6f3a8
Update wrt. PHP 7.1
...
Patch provided by anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345238 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 14:14:24 +00:00
Christoph Michael Becker
aaeb51d919
Exception implements Throwable
...
While this is only the case as of PHP 7.0.0, we nonetheless make it
the default, and change the note regarding the former state.
Based on a patch provided by Artem Ostretsov.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345149 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:20:45 +00:00
Christoph Michael Becker
02424f4d2a
Update example to avoid the deprecated each()
...
Patch provided by anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345141 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 12:09:29 +00:00
Christoph Michael Becker
654f983667
Update wrt. new “object” type declaration
...
Patch provided by anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345140 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:56:43 +00:00
Christoph Michael Becker
9cc4767b2d
What's in a name?
...
The Macintosh operating systems changed their name a few times since
version 10. We follow suite, and use the proper name whenever we refer
to a certain version, and use “macOS” as generic term, since “Mac OS X”
and “OS X” versions are already unsupported, or loose support at the end
of this year.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345139 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:50:40 +00:00
Christoph Michael Becker
15aac5e453
Namespace names are case-insensitive
...
This integrates user notes 113597 and 117905.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345127 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 15:26:05 +00:00
Christoph Michael Becker
6f653eff39
Apply consistent switch indentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345106 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-08 11:35:36 +00:00
Christoph Michael Becker
4cf779d048
Fix switch code tabs in example
...
This is consistent with all but one example in the switch man page, and also PSR-2.
--
Provided by anonymous 91782 (dunhamjared130@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345105 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-08 11:20:15 +00:00
Christoph Michael Becker
61a86c26f7
This patch changes the confusing use of ~ in the float documentation, to the word "approximately" to avoid ambiguousness with the ~ bitwise NOT operator.
...
--
Provided by anonymous 91768 (php@madara.ninja )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345104 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-08 11:15:07 +00:00
Christoph Michael Becker
b3e793af14
Fix #53934 : The negative PHP_INT_MAX is incorrectly converted to float
...
Actually, PHP does not support integer literals with explicit signs;
instead these are regarded as identity and negation operators, respectively.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345073 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-29 13:41:01 +00:00
Christoph Michael Becker
f559b71c79
Improve wording
...
Patch provided by anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345055 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:50:18 +00:00
Nikita Popov
75fb719c3c
Remove "functionally identical" foreach examples
...
Especially now that this is throwing deprecation warnings, this should not be in the main foreach docs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345048 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 13:59:28 +00:00
Christoph Michael Becker
c72fae7864
In the "Internal (built-in) functions" I changed mysql_connect to mysqli_connect
...
--
Provided by anonymous 90612 (bounya9mehdi@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344927 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-02 22:04:49 +00:00
Christoph Michael Becker
fddb6fb793
Array to object cast: numeric keys are accessible as of PHP 7.2.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344924 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-02 21:51:50 +00:00
Christoph Michael Becker
8c23c19594
Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344807 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-22 21:34:19 +00:00
Christoph Michael Becker
e8984166a3
Remove obsolete PHP 4 related info
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344806 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-22 21:31:08 +00:00
Christoph Michael Becker
0018149a06
Fix example title
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344802 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-22 17:25:22 +00:00
Christoph Michael Becker
35e70db263
Remove obsolete PHP 4 info
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344801 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-22 17:23:47 +00:00
Nikita Popov
d2f332fa94
Remove outdated note on return by ref with parentheses
...
While writing return($a) may be stupid, it will still work fine.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344782 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-21 10:10:38 +00:00
Christoph Michael Becker
459c0e1de4
Fix #75414 : tcp_nodelay option for stream context
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344750 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-19 17:04:53 +00:00
Christoph Michael Becker
fb9b5ebe0e
Don't refer to removed or obsolete extensions
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344618 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-04 15:09:29 +00:00
Christoph Michael Becker
dea92cb699
Fix typo
...
Patch provided by Elliot Ward.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344560 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 13:50:08 +00:00
Christoph Michael Becker
9fadd7d16a
Fix #76104 : Generator::next() causes yield to return null
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344528 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-16 17:33:42 +00:00
Christoph Michael Becker
0d15d9602e
Partially fix #76102 : language.types.integer - binary structure missing
...
This fixes the part of the bug report which is not related to the
translation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344518 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-15 15:31:27 +00:00
Christoph Michael Becker
0fe00e3574
Minor doc improvements
...
Patches provided by anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344469 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-09 12:44:59 +00:00
Pieter Hordijk
aa8396c551
Grammar tweak
...
--
Provided by anonymous 87588 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344274 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-16 15:19:15 +00:00
Pedro Magalhães
852f4696f1
Consistently use 4 spaces for tabs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344091 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 09:58:53 +00:00
Jakub Vrana
64642ea9c3
Fix ID of unserialize_callback_func INI entry
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344075 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 20:43:44 +00:00
Jakub Vrana
7c50ead1ed
Fix versions based on parsed php-src
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +00:00
Jakub Vrana
920901f85f
Remove >= 5.0.0 from versions
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344032 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 09:04:35 +00:00
Jakub Vrana
3d1b737b25
Document that Exception extends Throwable ( fix #75865 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344005 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 13:19:59 +00:00
Jakub Vrana
331fbfeac5
Use bool instead of boolean in return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343889 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:50:10 +00:00
Jakub Vrana
dd07341fae
Remove trailing fullstop in <refpurpose>
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Peter Cowburn
bc914daf98
foo(new foobar()) raises a notice as of PHP 7.0.7 (doc bug #75844 )
...
This is due to the fixing of #72038
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343850 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-18 19:24:11 +00:00
Joe Watkins
f84c11fb10
reword empty string operator warning for clarity
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343719 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-30 07:12:01 +00:00
Christoph Michael Becker
d17c8485fd
Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343679 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-20 18:36:48 +00:00
Andrey Gromov
169d4be91b
typo by anonymous
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343575 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-05 10:18:28 +00:00
Kalle Sommer Nielsen
cfa9e1bb71
Documented the remaining new functionality to ext/zip as of PHP 7.2.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343502 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 16:30:58 +00:00
Kalle Sommer Nielsen
4fc282f33e
Added a note about the deprecation of the (unset) cast in 7.2.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343494 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 15:44:34 +00:00
Philip Olson
660a9ebe1f
Mentioned $_SERVER equivalent for $argc/$argv, and added see also links
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343409 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-13 20:45:28 +00:00
Andrey Gromov
ead385635a
fix by anon
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343316 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-28 08:25:00 +00:00
Pieter Hordijk
5e40a5a43d
Added missing PHP open tags to examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343230 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-11 13:20:05 +00:00