Nikita Popov
00c86b65a1
Remove note about Serializable::serialize() acting as destructor
...
This doesn't make any sense. serialize() has nothing to do with destructors and __destruct() will still be called on the object, once it is destroyed.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346869 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-21 10:46:28 +00:00
Christoph Michael Becker
df6198b7a2
Improve example wrt. subgenerator name
...
This integrates user note 123631.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346863 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-21 07:54:04 +00:00
Christoph Michael Becker
b234cd852d
Add opening PHP tag
...
Patch provided by Csirmaz Bendegúz.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346852 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-18 12:03:39 +00:00
Christoph Michael Becker
8c7cec965e
Merged revision(s) 346849 from phpdoc/en/trunk/language/types/string.xml:
...
Add opening PHP tag
Patch provided by Csirmaz Bendegúz.
........
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346851 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-18 12:00:46 +00:00
Christoph Michael Becker
fd5464bb1c
Add opening PHP tag
...
Patch provided by Csirmaz Bendegúz.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346849 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-18 09:23:06 +00:00
Tyson Andre
578f5f3744
fix typos in language reference
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346847 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-18 05:16:33 +00:00
Tyson Andre
384bff9494
Fix typo in comment for example of operator precedence
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346846 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-18 04:55:43 +00:00
Pasindu De Silva
cb1c93099e
Parentheses and argument list optional with new operator
...
https://bugs.php.net/bug.php?id=77426
Submitted by girgias
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346784 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-10 23:58:40 +00:00
Pasindu De Silva
51fc161bc0
Improved interface doc
...
https://bugs.php.net/bug.php?id=73259
Submitted by girgias
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346783 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-10 23:42:35 +00:00
Christoph Michael Becker
71b5a8fe91
__autoload() is already deprecated
...
Based on a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346661 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-28 10:32:17 +00:00
Christoph Michael Becker
d371c0ab53
Nowdocs treats backslashes literally
...
This integrates user note 123533.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346613 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-21 11:01:23 +00:00
Christoph Michael Becker
3faf6fd5c8
Fix #77489 : Yield inside IF instruction
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346612 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-21 10:50:38 +00:00
Christoph Michael Becker
3cc52069e2
Refer to intdiv()
...
Based on a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346580 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-09 18:05:27 +00:00
Christoph Michael Becker
8413d3c303
Fix #65042 : Protected, private __invoke() magic method raises Warning
...
Patch provided by girgias.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346507 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-31 19:59:38 +00:00
Christoph Michael Becker
796ebb7fa1
Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346323 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-13 18:06:56 +00:00
Christoph Michael Becker
1403073198
Types of pass-by-ref parameters are not checked on return
...
Cf. <http://news.php.net/php.internals/103599 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346309 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-12 17:17:36 +00:00
Christoph Michael Becker
6398de67ed
Remove more PHP 4 related info
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346158 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-04 01:12:11 +00:00
Christoph Michael Becker
9093ce1bc6
More PHP 4 related content removal
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346157 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-03 17:41:59 +00:00
Christoph Michael Becker
2fd5de559f
Fix wording
...
Inspired by a patch provided by Kasper Franz.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346150 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-03 15:16:16 +00:00
Christoph Michael Becker
7ee0da6a02
Fix #75449 : Ignored return type for abstract methods, defined in traits
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346114 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-28 12:41:43 +00:00
Christoph Michael Becker
add41695ca
Document nullable return types
...
Based on a patch provided by Massimo Naccari.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346044 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 12:32:50 +00:00
Christoph Michael Becker
0c78bb07f5
Fix error level
...
Cf. <https://3v4l.org/P2iuQ >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346031 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 18:10:01 +00:00
Christoph Michael Becker
5c58791fed
Fix #77172 : convert error on receiving variables from external sources
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346017 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-19 13:11:21 +00:00
Christoph Michael Becker
74a8bfdfce
Add missing xml:id
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346012 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-18 11:15:45 +00:00
Christoph Michael Becker
6f439ae86a
Fix #77148 : No mention of __FUNCTION__ being self-referential inside a closure
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345983 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-14 14:25:43 +00:00
Christoph Michael Becker
4284b55c35
Fix example output
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345964 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-07 14:14:32 +00:00
Christoph Michael Becker
ac33a4e791
Fix #77053 : Invalid "continue" handling change in PHP 7 is undocumented
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345956 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 16:20:12 +00:00
Christoph Michael Becker
638e03e226
Fix #77100 : Inconsistent behavior between constants and magic constants
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345954 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 14:56:40 +00:00
Christoph Michael Becker
9c902ef963
Document deprecation of undefined constant as bare string fallback
...
Cf. <https://wiki.php.net/rfc/deprecate-bareword-strings >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345953 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 14:09:08 +00:00
Christoph Michael Becker
316f5ea691
Markup identifier regexps as <code> for better readability
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345951 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 13:54:03 +00:00
Christoph Michael Becker
ad6c403209
Fix #77034 : Casting null to int undefined
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345850 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-19 13:34:25 +00:00
Christoph Michael Becker
fd35a907bb
Document new CompileError exception
...
Based on a patch provided by Huiren Woo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345757 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 16:32:58 +00:00
Christoph Michael Becker
10bf01015f
Show inherited properties of core error classes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345729 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 16:20:46 +00:00
Pieter Hordijk
b08540046e
Fixed typos in ::class description
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345616 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-09 16:27:09 +00:00
Christoph Michael Becker
067b3bca39
Fix typo
...
Patch provided by anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345614 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-09 14:59:20 +00:00
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