Christoph Michael Becker
0241f6e074
Fix #80003 : The Type Operators page is not correct for the instanceof operator in 7.3+
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350349 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-20 16:44:56 +00:00
Christoph Michael Becker
70528785e7
Fix #77948 : Wrong Namespaces FAQ item interpretation/explanation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350306 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-13 13:04:25 +00:00
Christoph Michael Becker
af69aee72f
Fix #75466 : Undocumented Backward Compatibility Break from 7.0 to 7.1
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350302 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-13 11:58:10 +00:00
Christoph Michael Becker
65acc18cd9
Clarify behavior of wrong return types in weak mode
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350301 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-13 11:28:38 +00:00
Christoph Michael Becker
796f0da379
Remove duplicated word
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350292 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-08 13:06:54 +00:00
Christoph Michael Becker
17624e47b9
Fix #79901 : Wrong Link
...
Clarify that this is about *error* types.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350218 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-27 11:37:34 +00:00
Christoph Michael Becker
411c8ecee0
Update info regarding max integer size on 64bit Windows
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350156 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-15 10:02:46 +00:00
Christoph Michael Becker
8cd8caa1c2
Document SSL context option security_level
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350049 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-18 12:26:26 +00:00
Peter Cowburn
a43655118b
more details for typed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350015 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-08 20:49:01 +00:00
Christoph Michael Becker
e9c3f8dfd8
Remove unnecessary "Sometimes"
...
Patch provided by Toni Hutter.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349746 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-04 13:37:46 +00:00
Christoph Michael Becker
498e7a69fb
Update examples for PHP 5+
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349734 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-02 12:47:06 +00:00
Christoph Michael Becker
dcd5448282
Fix other typos outside of php module docs
...
Patch provided by tandre@php.net .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349711 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:59:43 +00:00
Christoph Michael Becker
9268006bcf
Document PHP 7.4 arrow functions
...
Patch provided by tandre@php.net .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349700 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-26 12:39:17 +00:00
Christoph Michael Becker
828f56ed32
Operator Precedence - Add print
, fix associativity of instanceof
and unary operators
...
Patch provided by Guilliam Xavier.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349661 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-15 09:35:46 +00:00
Christoph Michael Becker
886599435a
Fix #66668 : Function names are case-sensitive for chars with codes 127-255
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-13 16:02:59 +00:00
George Peter Banyard
cb89675ef3
Remove duplicated word
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349649 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-12 01:41:05 +00:00
Christoph Michael Becker
e1438a020b
Document the __serialize/__unserialize magic in PHP 7.4
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349590 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-01 23:15:30 +00:00
George Peter Banyard
9d539daa5f
Updating a class name of an example, following the psr-1 standard:
...
+ Class names MUST be declared in StudlyCaps.
https://www.php-fig.org/psr/psr-1/#3-namespace-and-class-names
Note by committer: as we are mostly following Pascal case for class names anyway the PSR-1 argument is irrelevant.
--
Provided by anonymous 102110 (tunt081295@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349446 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 01:38:47 +00:00
Christoph Michael Becker
b03dfce3fd
Fix #79302 : Support for underscores in numbers not documented
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349427 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 16:18:30 +00:00
Christoph Michael Becker
3c28f4f9d0
Fix #79256 : Generator::next not behaving as documented
...
Patch provided by ekin@php.net .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349409 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 18:07:06 +00:00
Christoph Michael Becker
59d459d265
Fix #74257 : "namespace \X" does not work to declare a namespace
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349407 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-13 17:37:34 +00:00
Tiffany Taylor
84b2eca180
Remove "nom noms" from eat method in Dog class
...
(thanks salathe)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349392 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 15:40:27 +00:00
Tiffany Taylor
62be58faa7
Formalize wording in variance page, remove any wording that speaks to the audience
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349390 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-12 14:36:14 +00:00
Christoph Michael Becker
0119ca9ded
Fix build and make desired changes visible
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349319 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 13:39:49 +00:00
Sherif Ramadan
1b3f589696
Add missing language constructs
...
Take 2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349318 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 11:55:36 +00:00
Christoph Michael Becker
0cddfa08a4
Merged revision(s) 349310 from phpdoc/en/trunk:
...
Updating constructs to include eval, echo, and list
........
This can't possibly work, see <https://news-web.php.net/php.doc.cvs/17222 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349313 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 10:51:15 +00:00
Sherif Ramadan
74670c410f
Updating constructs to include eval, echo, and list
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349310 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 10:30:27 +00:00
Christoph Michael Becker
dbf319f8b2
Fix #74897 : Links to "warning" & "fatal error" have a blank href
...
Let's be pragmatic, and just use <constant> elements as in the rest of docs,
and hope that PhD will support automatically linking these elements sometime.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349307 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 08:22:42 +00:00
Sherif Ramadan
9ac8f763f2
Reverting revision #349291
...
I'm going to roll this back since the doc build is currently broken
and I'm not sure if it's my latest commit or an issue with the
build server.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349292 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-03 03:38:24 +00:00
Sherif Ramadan
b68084b35a
Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349291 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-03 02:24:04 +00:00
Sherif Ramadan
ae20b4d812
Fix revision #349288
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349290 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-03 02:17:29 +00:00
Sherif Ramadan
4fbfc73b7a
Add missing constructs to language reference.
...
Even though echo, eval, list, and array are all listed under functions
in the manual, they are infact language control structures and should
be indexed here.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349289 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-03 01:58:08 +00:00
Nikita Popov
34f775f6f0
Operator Precedence - Add missing ??=
...
Patch by SpacePossum.
Closes php/doc-en#47 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349236 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-19 10:21:03 +00:00
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