Commit graph

115 commits

Author SHA1 Message Date
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 (#544) 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 #72444: 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 #71578
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 #70218)
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 #62191: 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 #60835.
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 #52344 (__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 #45070)
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 #45069 (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
Philip Olson
d522d135a1 Removed PHP 3 information from the manual. Goodbye PHP 3, thanks for all the memories!
This commit covers many files.
The CVS file phpweb/manual/php3.php will exist to store [most of] this info.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253274 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-19 21:45:32 +00:00
Edward Z. Yang
5fd4ab47ee Document __DIR__ constant.
- Rename __MAGIC__ in tokens.xml from "constants" to "magic constants"


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@252734 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-12 04:39:11 +00:00
Felipe Pena
f1f844b4eb Removed doubled "use"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249139 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-27 14:57:27 +00:00
Felipe Pena
ff9b48316c Added final and __NAMESPACE__ keywords; Modified version of namespace keyword; Removed import keyworkd
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249127 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-27 03:31:02 +00:00
Nick Berard
6b8c0223ee Added 'as of PHP 5' and 'PHP 6' for goto
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241269 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-15 15:53:53 +00:00
Nick Berard
9ef25b12f5 Added namespace, import and goto reserved keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241267 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-15 15:12:38 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00