Peter Cowburn
9d7bbd34d5
Clarification on interaction between finally and return statements (doc bug #68290 )
...
Patch by Sorin Nunca
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349132 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-05 20:03:54 +00:00
George Peter Banyard
8e00768efc
Update doc in regards to being able to throw exceptions in __toString().
...
--
Provided by anonymous 101201 (Arek Pietrzyk)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349020 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-26 10:20:34 +00:00
George Peter Banyard
a123922b53
Remove a mention of PHP 4.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348957 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-20 02:39:19 +00:00
Peter Cowburn
a8cc01634c
k
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348562 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-17 20:24:03 +00:00
Christoph Michael Becker
6ccb666358
Fix #78977 : Assigning the return value of new is a syntax error instead of deprecated
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348555 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-17 13:17:29 +00:00
Peter Cowburn
a2063d1336
Add oop5 section for covariance and contravariance with examples.
...
Patch by Tiffany Taylor (credit also to Mark Randall for help with examples)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348547 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-16 20:40:29 +00:00
Pieter Hordijk
515b704813
Added the 7.3 change to the changelog list
...
--
Provided by anonymous 59531 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348403 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-03 16:40:13 +00:00
Pieter Hordijk
254f1e9c54
Added sentence about continue behavior of continue in switch statement
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348402 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-03 16:30:56 +00:00
George Peter Banyard
0f9d5fdc88
Typo, provided by an anonymous user.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348385 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-01 12:59:19 +00:00
George Peter Banyard
f94482f07a
The current phrasing of the description of the spaceship operator is confusing. This patch moves the "respectively" to the end of the sentence to make the phrasing clearer.
...
--
Provided by anonymous 100956 (douglas@chippy.ch )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348384 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-01 12:55:38 +00:00
Nikita Popov
3fbaa7057b
Remove sign from floating point definition
...
The sign is not part of the number,
it is a separate unary operator.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348072 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-26 17:11:21 +00:00
George Peter Banyard
298f39a1cf
Improve fix for Doc Bug #78581 as per Editor recommendation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348031 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-21 15:15:07 +00:00
George Peter Banyard
d1a445bc7a
Fix Doc Bug #78581 No mention of <?= other than in the chagelog of the PHP tags doc page
...
Added a paragraph about the short echo tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348029 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-21 14:35:28 +00:00
Christoph Michael Becker
9b5b5b7285
Fix #78464 : Abstract may not or cannot be instantiated?
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347912 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-01 09:25:34 +00:00
Nikita Popov
eafbe3d6d1
Remove [ from operator precedence table
...
This is not a real operator and having it here is confusing.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347901 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-27 19:49:21 +00:00
Christoph Michael Becker
528e97348f
Remove unsuitable example part
...
This example is about integer literals, but -123 is not a literal but rather an expression.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347812 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-30 15:54:31 +00:00
George Peter Banyard
ebc32dec7b
changes null coalescing operator link and title
...
--
Provided by anonymous 99001 (vike2000@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347764 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-19 10:36:09 +00:00
George Peter Banyard
1319917d0f
Added links, entities, and some slight rewording.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347744 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-14 00:34:55 +00:00
George Peter Banyard
b41b0af93b
Typos and sentence structure.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347742 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-13 23:45:44 +00:00
George Peter Banyard
dfb5bfc4f5
Partial fix to Doc Bug #77176
...
Added changes to PHP's OOP model starting from PHP 7.0.
Hope I didn't miss anything and phrasing may be improved but based on the previous format of changelog. This may be (should?) need some tweaks, please advise.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347741 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-13 20:18:58 +00:00
Nikita Popov
901fc6375e
Fix generator xrange() example
...
Patch by KodyWiremane.
Closes php/doc-en#4 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347735 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-13 10:42:35 +00:00
Karoly Negyesi
0c97611503
expand overloading docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347517 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-30 20:13:02 +00:00
George Peter Banyard
417eda23c6
Removing mention of WDDX as it's been deprecated.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347511 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-29 15:38:39 +00:00
Christoph Michael Becker
faabf4e74a
Fix #78048 : Weakref extension and PHP 7.4 weak references might cause confusion
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347473 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-23 08:17:25 +00:00
George Peter Banyard
0853ac9168
Fix Copy and Paste mistake (nested <code> tags)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347270 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-17 15:21:07 +00:00
George Peter Banyard
6187696fb4
Updated REGEX of valid symbols in various instances
...
Fixes Doc Bug #75814
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347269 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-17 15:17:19 +00:00
Christoph Michael Becker
b20fb5e69d
Fix #77901 : declare tick is now local for each PHP file
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347260 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-17 10:13:47 +00:00
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