Commit graph

2150 commits

Author SHA1 Message Date
Christoph Michael Becker
e392d576ed Fix wording
“i.e” is the abbreviation of “id est” (that means); 
“e.g.” is the abbreviation of “exempli gratia” (for example).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347079 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-27 17:35:07 +00:00
Christoph Michael Becker
a36065c3de Increment/decrement operators don't affect booleans
Cf. <http://news.php.net/php.internals/104933>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347062 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-26 13:51:27 +00:00
George Peter Banyard
1b5dc67e5c Removed various notions about PHP 4 in variable language spec;
Fix Doc Bug #77725

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347045 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-24 19:49:33 +00:00
George Peter Banyard
9134a81215 Fix changelog order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347044 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-24 19:48:24 +00:00
George Peter Banyard
af6fdf16ab Remove PHP 4 and 5.0.0 mentions.
This includes changelogs but also some paragraphs and notes which mention PHP 4.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347043 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-24 19:38:53 +00:00
Peter Cowburn
4fe372927e negative zero is falsy (fix bug #77778)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347033 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-21 19:26:14 +00:00
Christian Weiske
f8c13c6050 Link to error_get_last() which is the recommended replacement.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347009 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-13 21:20:25 +00:00
Kalle Sommer Nielsen
1ae887f71c Class constants may not be declared as final either
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346977 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-07 12:05:13 +00:00
Oliver Albers
ffe8a35861 Fix typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346964 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-03 12:40:54 +00:00
Christoph Michael Becker
9a9be2c2b0 Fix #77679: Operator Precedence table does not contain yield and yield from
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346925 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-28 15:08:41 +00:00
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