Andrew Foster
7a3899eea9
Fix double "language" ( #538 )
2021-04-20 13:39:32 +08:00
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
Christoph Michael Becker
9e0f03ac35
Proper variadics instead of pseudo variadics
...
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +00:00
Christoph Michael Becker
5390e7919f
Concatenation has the same precedence as addition
...
This integrates user note 125110.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350033 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-14 11:52:10 +00:00
Christoph Michael Becker
ad34011f87
Fix #69012 : examples in echo documentation are misleading
...
Patch provided by girgias.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346811 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-12 16:16:07 +00:00
Pieter Hordijk
3d974bf87e
after https://bugs.php.net/bug.php?id=74362
...
edit the doc so that it doesn't say that the "only" difference is the accepted arguments.
--
Provided by anonymous 81948 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342214 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-03 07:27:21 +00:00
Christoph Michael Becker
5acb71cfab
Fix #72865 : describe difference to echo (with example ideally)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339895 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-17 13:51:52 +00:00
Christoph Michael Becker
fba532ed30
integrated user note 118552
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338476 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 21:02:15 +00:00
Thomas Punt
c72e6502c8
Resolve doc bug #69013 with additional information
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338312 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 22:18:56 +00:00
Thomas Punt
e799d1da87
Resolve doc bug #69013
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338311 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 21:50:39 +00:00
Adam Harvey
34593e9061
Fixed doc bug #63024 (PHP 5.4.0, <?= is always available).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327507 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-07 02:45:01 +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
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
Daniel P. Brown
355a794f90
The FAQTS link was hijacked, defaced, or otherwise modified, and now shows nothing but SPAM links throughout.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290877 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-17 17:19:44 +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
ed67b3c502
fixed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283839 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 09:08:43 +00:00
Kalle Sommer Nielsen
8c633782ac
Fixed #47618 (Say how to turn of interpolation on <<< here documents)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282800 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-26 06:59:03 +00:00
Hannes Magnusson
0156acd4e7
Fixed bug#42577 (lill' mistake in echo's manpage)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242233 c90b9560-bf6c-de11-be94-00142212c4b1
2007-09-06 13:16: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
Mehdi Achour
e727ac1f60
ref.strings (.* => .*): Switch to new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237778 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 19:01:57 +00:00
Mehdi Achour
30fae20937
WS, prepare for new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237777 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 19:01:26 +00:00
Sean Coates
6411d25b93
grammar (not mine -- really.)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@192877 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-09 17:41:06 +00:00
Sean Coates
3c16b3eb40
echo is not a function; neither is print; print, however, BEHAVES like a function -- #33968
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@192876 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-09 17:38:32 +00:00
Jakub Vrana
b41f54c7e0
Replace invalid characters in <parameter>
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@173352 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-23 09:38:18 +00:00
Derek Ford
f089b9d5cc
additional example and punctuation fix
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147062 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-21 03:03:56 +00:00
Mehdi Achour
27960e632c
Merry XHTML and CS compliant christmas all \!
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146503 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 16:55:22 +00:00
Mehdi Achour
9cef99b78d
{}'s example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135970 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-25 21:03:47 +00:00
Derick Rethans
323ef98520
- Note reordering and unrolling
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@131848 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-16 10:44:57 +00:00
Philip Olson
23c409d0e6
Move the "unimportant" ¬e.language-construct; note to the bottom.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@128313 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-21 22:37:51 +00:00
Andy Lindeman
a111f6f9ff
adding note to language constructs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@125705 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-04 17:13:07 +00:00
Andy Lindeman
e5f0406a16
of -> between (sorry)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@125703 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-04 16:33:57 +00:00
Andy Lindeman
745db7accc
adding some user notes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@125701 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-04 16:32:15 +00:00
Damien Seguy
7a135f579f
Completing declaration
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@118502 c90b9560-bf6c-de11-be94-00142212c4b1
2003-02-28 23:47:08 +00:00
Gabor Hojtsy
1ca8f00eb4
Deleting note on print()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@106395 c90b9560-bf6c-de11-be94-00142212c4b1
2002-12-01 10:29:14 +00:00
Damien Seguy
c81b785e1b
make all see also consistent
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@90028 c90b9560-bf6c-de11-be94-00142212c4b1
2002-07-27 04:07:06 +00:00
Sander Roobol
adca5e47bf
Fix minor typos
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@83413 c90b9560-bf6c-de11-be94-00142212c4b1
2002-05-25 10:23:42 +00:00
Hartmut Holzgraefe
5b9fc29465
revision tags added
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00
Hartmut Holzgraefe
a4b6d72ad3
banana-split
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78202 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:12:54 +00:00