Rowan Tommins
ede9d209f6
Clarify the syntax and role of arguments for echo and print
...
- Rather than implying that parentheses are optional, make clear
that they are never part of the syntax for these keywords.
- Don't spend so many examples on different types of string.
- Do include examples of non-string arguments.
- Add a note with additional examples of how parentheses interact.
- Don't refer to either construct as "function-like", instead use
the term "expression" consistently.
- Additional tidying to make the pages more consistent with each
other.
- Add "print" to the list of language constructs which are
documented as functions.
- Remove mention of what PHP versions below 5.4 did with short
echo tags.
2021-03-10 14:37:20 +01:00
George Peter Banyard
6970f8fa7b
Add match expression documentation
...
This includes:
- match expression page
- UnhandledMatchError page
Co-authored-by: Larry Garfield <larry@garfieldtech.com >
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351499 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 17:31:20 +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
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
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
04077dd209
fixed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283798 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:17:58 +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
Philip Olson
fea3dc3d1d
- Split control-structures.xml into control-structures/*.xml
...
- No content was changed
- Whitespace has been changed
- Changed to utf-8
- The history of these files can be viewed here:
--- http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?annotate=1.173
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271960 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-27 01:35:49 +00:00
Kouber Saparev
31c9387ae2
Typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269922 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-27 10:19:08 +00:00
Nilgün Belma Bugüner
adca0b4e4a
fix validity errors
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268985 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-14 05:17:09 +00:00
Greg Beaver
a756dc9772
add encoding directive to declare documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268981 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-14 00:38:36 +00:00
Jakub Vrana
bbf97ee85f
declare doesn't affect parent (bug #44345 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268487 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 11:26:57 +00:00
Jakub Vrana
eabb567094
Typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268486 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 11:23:36 +00:00
Kalle Sommer Nielsen
d1d868c383
Fix php highlight in examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265942 c90b9560-bf6c-de11-be94-00142212c4b1
2008-09-07 19:27:41 +00:00
Felipe Pena
44c0b43f25
- Typo-- ("insted of")
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265704 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-31 01:04:21 +00:00
Kalle Sommer Nielsen
a25ea24b7e
Add a tip regrading array iteration with for (Thanks for the help Pierre)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265700 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-31 00:35:09 +00:00
Kalle Sommer Nielsen
20a326f84d
* Added caution note that ticks are deprecated as of 5.3
...
* Added note in changelog on the following functions that they will throw an E_DEPRECATED notice as of 5.3:
* mktime() -- is_dst parameter is deprecated
* register_tick_function()
* mysql_db_query()
* mysql_escape_string()
* setlocale() -- Behavior of passing strings insted of one of the LC_* constants is deprecated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265410 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-24 07:26:26 +00:00
Kalle Sommer Nielsen
ec9fc2e0f7
Document that a semicolon also may be used after a case, like: case 1; case 2;, ...
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265141 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-19 23:12:48 +00:00
Maciek Sokolewicz
a71cb60f10
fixed typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@261931 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-02 15:44:30 +00:00
Daniel P. Brown
5e8a61948c
Addresses Bug #45223
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@261602 c90b9560-bf6c-de11-be94-00142212c4b1
2008-06-24 18:51:19 +00:00
Felipe Pena
8cf5fa0c7d
- Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@257843 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-18 19:49:43 +00:00
Daniel P. Brown
f3959d5987
Fixes Bug #44641 (simple typo).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@256788 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-04 18:09:43 +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
Carola 'Sammy' Kummert
08684a8561
fixing bug 43837
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250848 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-18 11:12:32 +00:00
Jakub Vrana
44759c7e0a
Clarification of comma in for
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246632 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-21 16:59:33 +00:00
Jakub Vrana
2536c56c28
Invalid description of comma in for (bug #42644 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246631 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-21 16:58:20 +00:00
Hannes Magnusson
18c0c7cdb3
Fix markup (wrap that simpara in a sect1 block)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246544 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-20 23:05:13 +00:00
Antony Dovgal
8075b7c11d
cosmetic improvement =)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246106 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-13 11:44:15 +00:00
Etienne Kneuss
e8abcf0aa3
Missing space (thanks Philip for the hint)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246080 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-12 22:53:56 +00:00
Etienne Kneuss
9138ef65f2
Fix typo (thanks Nuno for the hint)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246057 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-12 17:54:09 +00:00
Etienne Kneuss
d1ef2aa672
Discourage using foreacha along with array pointers, "wont fix" side effects
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@245989 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-10 16:57:24 +00:00
Etienne Kneuss
99c5c0004c
remove obfuscating parenthesis for include/require_once
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244170 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-14 02:51:28 +00:00
Hannes Magnusson
0e75f7dc5c
- Fixed bug#42504 ('switch' manual page)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242009 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-31 19:50:35 +00:00
Jakub Vrana
c3241fb8b4
Unset foreach references manually (bug #37410 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241484 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 22:03:53 +00:00
Jakub Vrana
16e60a2234
Remove foreach references outside <note>
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241483 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 21:58:32 +00:00
Jakub Vrana
64a77a27e9
Grammar (bug #41460 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241403 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 08:29:05 +00:00
Jakub Vrana
9afb78925b
Magic constants in included file from a function (bug #41487 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241401 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 08:10:04 +00:00
Etienne Kneuss
a47be82529
./ && ../ doesn't use include_path at all
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240940 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-09 09:34:18 +00:00
Jakub Vrana
6ddf596c98
default in switch doesn't need to be last
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238780 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-28 11:02:27 +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
Gwynne Raskind
100cfa0929
- Import of new internals documentation
...
- Manual base modified to include new docs and remove old
- Links updated in many files
- New language and global entities as needed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237850 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-16 21:08:14 +00:00
Gwynne Raskind
65ec419486
grammatical fix (identified by abraxas and asonge)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237225 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-08 19:26:21 +00:00
Etienne Kneuss
a1fc861360
Fix #41486 (include_path not used for the script's dir)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236434 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-27 09:46:31 +00:00
Jakub Vrana
fa6f8d9a9c
Space before dot
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@235133 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-07 09:33:54 +00:00