1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

30 Commits

Author SHA1 Message Date
Juliette
a124543dd3 Fix links to magic constants page (#4668)
Not sure what happened here, but found quite a few incorrect links for the magic constants page.

Fixed now.
2025-05-15 21:59:00 -07:00
USAMI Kenta
ffbe652535 require_once and include are expressions, not statements
Closes GH-369.
2021-01-20 14:29:11 +01:00
Kamil Tekiela
4774ba9dba Incorrect value in include. Patch provided by anonymous 992 via edit.php.net
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352283 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-29 17:55:33 +00:00
Christoph Michael Becker
5b05e0c7e6 Remove confusing and apparently unrelated lines from example
This integrates user note 125445.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350957 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-20 13:46:53 +00:00
Christoph Michael Becker
4d93300938 Fix #80021: include/require documentation does not mention warnings for missing files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350405 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-28 08:22:46 +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
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
Christoph Michael Becker
c5c902b477 minor fixes contributed by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337282 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-03 22:37:52 +00:00
Maciej Sobaczewski
fbc4ef92fa More PHP 4 removals, mainly language snippets.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336340 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-03 08:14:30 +00:00
Jakub Vrana
676d5ed969 Link allow_url_include instead of allow_url_fopen (bug #55805)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330281 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-18 00:20:19 +00:00
Karoly Negyesi
cf4a06bf38 Tinkering include docs a bit more.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327096 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-13 07:26:30 +00:00
Karoly Negyesi
2177c63915 Make include returns a lot more clear.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327094 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-13 07:15:46 +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
Nikita Popov
547752940c Fix typos
-- 
Provided by anonymous #11769 (Laurent.Lyaudet@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318884 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-07 16:16:10 +00:00
Hannes Magnusson
c7aca484fd Add version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312947 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-05 18:59:24 +00:00
Etienne Kneuss
91b81c7b6c Simplify example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310855 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-09 15:34:46 +00:00
Hannes Magnusson
64042ccbff Remove several html entities and replace them with utf8 chars so we can drop the
dtd include
# &nbsp; replaced with nothing
# &mdash; with —
# &euro; with €
# &auml; with ä
# &Auml; with Ä


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310796 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-05 20:59:34 +00:00
Adam Harvey
0a3b308c70 Note that absolute paths on Windows can also start simply with \ and not
necessarily a drive letter.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303412 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-16 02:03:34 +00:00
Adam Harvey
383ede4297 Fix doc bug #52847 (Files to include are always searched for in current
directory).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303387 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-15 09:35:36 +00:00
Adam Harvey
dc9887a2ca Fix doc bug #51569 (Documentation of include missing fallback to calling
script's cwd) by adding clarifying note about the final fallback when including
a file.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303380 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-15 06:54:32 +00:00
Adam Harvey
910f0c46a5 Fix doc bug #52845 (Documentation wrong re includes with relative paths) by
adding clarifying text on what we actually mean by full and relative paths.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303377 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-15 03:55:24 +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
Brandon Savage
41050c31e8 Fixed malformed XML that broke the build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287169 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-12 18:01:52 +00:00
Brandon Savage
eb4ea1b9fa Updating include and include_path documentation to be more clear and explicit.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287153 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-12 11:53:57 +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
Richard Quadling
5aedae62db literal => constant for error constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282808 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-26 07:38:42 +00:00
Stanislav Malyshev
fddc302488 rephrase unclear wording
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276588 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-27 20:39:32 +00:00
Philip Olson
bca6c27158 Whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271987 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-27 06:51:51 +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