Commit graph

122 commits

Author SHA1 Message Date
Christoph M. Becker
4e19b91a19
Fix cols of reserved keywords table
The table of reserved keywords obviously has four columns, and this
should be reflected by the `col` attribute (although that is apparently
ignored by PhD for now).  We also specify four columns for the table of
soft reserved words.
2022-03-01 10:46:26 +01:00
Juliette
a6a4d6ad6e
PHP 8.1 | Other reserved words: add never
Similar to PR 938 for the PHP 8.0 `mixed` reserved word, this commit adds the new reserved word `never` to the list of "Other reserved words" and adds a mention of this to the Backward Incompatible Changes page in the migration guide.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>

Closes GH-1434.
2022-03-01 10:28:24 +01:00
Yoshinari Takaoka
68b5e2c562
mixed is a reserved word (not keyword!) as of PHP 8.0.0. () 2022-02-28 17:10:32 +09:00
Christoph M. Becker
a049ea0cfb
Fix : UPGRADING doesn't mention that readonly becomes a reserved keyword 2021-12-02 17:16:56 +01:00
Christoph M. Becker
6e67c80bc7
Revert "Fix : Usage of class keyword unclear"
This reverts commit 57ea81ca45.

Cf. <https://news-web.php.net/php.doc.cvs/18875>.
2021-09-13 13:40:34 +02:00
Christoph M. Becker
57ea81ca45
Fix : Usage of class keyword unclear 2021-09-13 12:38:05 +02:00
Christoph M. Becker
6a5b42e0d3
Remove obsolete PHP 5 specific info from appendices 2021-05-23 16:50:50 +02:00
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 () 2021-04-23 11:35:26 +03:00
George Peter Banyard
5c8a92d1c5 Add match to list of reserved words
Closes GH-296.
2020-12-30 18:44:11 +01:00
Christoph Michael Becker
e59ae7a32d List of Keywords - Add fn (PHP 7.4)
Patch provided by Guilliam Xavier.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349701 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-26 13:29:25 +00:00
Christoph Michael Becker
7600ab3338 Add “yield from” to the list of keywords
Yeah, “yield from” is a single keyword …

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346864 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-21 08:00:28 +00:00
Christoph Michael Becker
edc3471f83 Fix typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344858 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 12:53:57 +00:00
Thomas Punt
8b61ccb376 Update reserved words
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343458 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-26 16:28:59 +00:00
Christoph Michael Becker
fae36040d4 void and iterable are reserved as of PHP 7.1.0
Patch provided by Vlad Veselov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341921 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-17 18:07:33 +00:00
Maciej Sobaczewski
82d79c6653 Fix manual build, sorry!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340960 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-12 07:11:22 +00:00
Christoph Michael Becker
a9d0248cd3 Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340505 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 13:28:25 +00:00
Christoph Michael Becker
44aadfc0fe Document predefined PHP 7 interfaces and classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339552 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-03 21:47:39 +00:00
Christoph Michael Becker
0823fabeb1 Fix : Documentation doesn't reflect loosening of reserved word restrictions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339385 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-17 17:41:40 +00:00
Thomas Punt
47b50ee7a8 Resolve doc bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338660 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-24 14:09:57 +00:00
Christoph Michael Becker
4ed9525149 updated links (fixes )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337377 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 11:53:55 +00:00
Peter Cowburn
c027c09f4c fix build (missing table title)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336657 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-24 19:32:02 +00:00
Pasindu De Silva
153f3f6cc5 Added other reserved words introduced in PHP 7
https://wiki.php.net/rfc/reserve_even_more_types_in_php_7

https://wiki.php.net/rfc/reserve_more_types_in_php_7

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336654 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-24 17:25:28 +00:00
Chris Wright
547857d603 Update Reserved Keywords List for PHP 5.5
-- 
Provided by anonymous 36570 (jrchamp@ncsu.edu)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332349 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-12 15:11:11 +00:00
Chris Wright
1ebfff9621 Added yield to reserved keywords appendix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331223 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-29 09:32:17 +00:00
Jakub Vrana
5291d45acf Link ErrorException and Generator
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330328 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-21 17:53:50 +00:00
Nikita Popov
e70f20002a Fix Doc Bug : array missclassified as keyword
I merged the language construct list into the main keyword list, as the distinction makes no sense. All keywords listed are part of a language construct of some sorts.

Also I added the new PHP 5.4 keywords callable, insteadof and trait and removed the PHP 4 keywords cfunction and old_function (as well as the "as of PHP 5" inline changelog entries).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325969 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-04 14:44:34 +00:00
Jakub Vrana
84b8fca68f Use <function> for language constructs (now supported by PhD)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325214 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 21:45:34 +00:00
Jakub Vrana
a9b26c34e4 Display language constructs without parentheses
Side effect of this change is that include, require and return are now properly linked. They weren't because they don't live inside <refentry> so PhD doesn't know about them.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324522 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-25 08:39:30 +00:00
Jakub Vrana
f7272deef5 Letter case
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324425 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-21 17:57:33 +00:00
Justin Martin
d2046aa1e3 Added __halt_compiler to list of language constructs. Closes bug .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322547 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-21 22:07:29 +00:00
Jakub Vrana
53b6f116ed dir is a function creating an instance of Directory class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321886 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-07 23:06:29 +00:00
Gustavo André dos Santos Lopes
efe3572eca Documenting closure methods. Note I put the closures under
language/predefined/interfaces.xml, this will have to be
moved to a more appropriate location.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318236 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-19 22:32:47 +00:00
Daniel Egeberg
2fba385e29 Fixed PHP bug (__LINE__ not listed in the documentation)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301282 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-15 07:48:21 +00:00
Jakub Vrana
d2ce62820d Explain special classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297201 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-30 20:48:37 +00:00
Jakub Vrana
4e83df1663 Explain standard classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297200 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-30 20:34:34 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
eab8da608e fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283794 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 05:34:55 +00:00
Nilgün Belma Bugüner
803bd2e9ce fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283790 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 05:16:31 +00:00
Philip Olson
f57b4a3ccd Fixed spelling errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278109 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-01 07:39:55 +00:00
Jakub Vrana
19a7b598e9 Anonymous functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277637 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-23 16:54:13 +00:00
Damien Seguy
01253d3618 introduction of the foreach entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275923 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-16 15:30:18 +00:00
Jakub Vrana
f48f8c7585 Document goto
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@272953 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-07 13:34:18 +00:00
Jakub Vrana
2882d4912e self and parent forbidden (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268367 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-05 16:53:05 +00:00
Jakub Vrana
d73bfcbec2 this is not a keyword
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268073 c90b9560-bf6c-de11-be94-00142212c4b1
2008-10-31 15:45:05 +00:00
Kalle Sommer Nielsen
60fa45559e Fix build (include, include_once, require, require_once and return will not work for now)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265195 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-21 03:22:56 +00:00
Kalle Sommer Nielsen
bbe70c1cab Fixes (multiple problems with reserved.php)
Also restructures the table into one with reserved keywords, language constructs and compile time constants


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265181 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 19:06:20 +00:00
Kalle Sommer Nielsen
7a7d3dc2c4 Fix final dublicate
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265154 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 03:05:52 +00:00
Kalle Sommer Nielsen
2eb8cfe2d4 * Added missing T_GOTO parser token
* goto is a reserved keyword as of 5.3, not 6.0


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265049 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-18 08:28:06 +00:00
Hannes Magnusson
749e9c3799 Refactor predefined PHP varibles
(90% cut&paste, almost no new content except for examples maybe)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@257499 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-14 17:28:03 +00:00