81 Commits

Author SHA1 Message Date
Mikhail Alferov
04d9aded7b Add class="extension" attribute to <filename> tags which refer to file extensions (#3870) 2024-10-15 13:10:10 +01:00
Tim MacDonald
8859c8b96c Standardise casting spacing (#2717) 2024-09-11 14:29:15 +01:00
Jim Winstead
08bce8d11d Remove reference to features.xforms (part of php/doc-en#3579) (#3601) 2024-07-24 16:38:16 -07:00
Tim MacDonald
46ffb4b3fa Add doctype to full HTML document (#2734)
Proposing that for full HTML document examples, we include a doctype.

The section's initial example includes a doctype, but then we don't include it on the subsequent examples.
2023-09-02 13:31:15 +01:00
Tim MacDonald
1defcdacde Wrap example output in CDATA (#2736) 2023-09-02 13:25:39 +01:00
Tim MacDonald
6897f18b9f Fix typo in chapters/tutorial.xml (#2737) 2023-09-02 13:45:38 +02:00
Tim MacDonald
d3229141aa Use semantic HTML tags for tutorial form example (#2715)
* Indent form example

* Use semantic HTML for form example

* Add `type` attributes to inputs and button
2023-08-29 09:19:15 +02:00
Tim MacDonald
60bd8b786b use str_contains over strpos for tutorial example (#2716) 2023-08-28 09:27:37 +02:00
Tim MacDonald
5ccb446e8a Standardise Getting Started example indentation (#2713)
* Standardise getting started indentation

* Indent form example

* Drop trailing whitespace to make CI happy

---------

Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
2023-08-28 09:05:50 +02:00
Timo Tijhof
528bcc7b2e tutorial: update browser in the tutorial (#2478)
Update the example to a browser that people can actually download and install from official websites on macOS, Linux, and Windows today.
2023-07-28 03:25:34 +01:00
Christoph M. Becker
6b60bf846b Drop Windows Notepad usage instructions
We should not encourage use of Notepad for editing PHP files, and those
who use it, should at least know how it works (after all, it's not that
complex).

Closes GH-1265.
2021-12-28 11:11:54 +01:00
George Peter Banyard
b8e1b1357d Some cleanup in FAQ section
Closes GH-327.
2021-03-23 14:19:44 +01:00
Christoph M. Becker
3e08a8aae6 Remove obsolete PHP 5 related info from ini.core and related pages 2021-02-24 14:32:08 +01:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
ca7fbbaddc fixed #71205: Documentation version mistake
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338342 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-23 17:19:04 +00:00
Jean-Sebastien Hedde
41060e691d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335484 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:29:17 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Peter Cowburn
31683e6df6 import_request_variables() is no more
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333182 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:54:13 +00:00
Hannes Magnusson
519e5a4320 Dear God, make me a bird. So I could fly far. Far far away from here.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332294 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-06 19:59:02 +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
Mike Ford
fa6e196973 Improve English: "in case" does not mean "if" (part 1).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313913 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-29 10:46:17 +00:00
Richard Quadling
235b3af9bf ISO-8859-1 -> UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288790 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 12:43:41 +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
807784d7b2 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283792 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 05:28:19 +00:00
Yannick Torres
393f22fee2 fix markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279745 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-02 22:27:55 +00:00
Yannick Torres
243052e320 add literal tag
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275849 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-15 12:05:00 +00:00
Hannes Magnusson
5fc83c2ba8 More markup fixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265363 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 15:44:38 +00:00
Hannes Magnusson
5cd5661448 Use proper markup for variables
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265362 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 15:40:25 +00:00
Daniel P. Brown
109ef75d6a Addresses Bug #45206 to adjust correct grammar, and unifies all pages with new title.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@261607 c90b9560-bf6c-de11-be94-00142212c4b1
2008-06-24 20:26:55 +00:00
Philip Olson
794a0be575 removed link to conf.php.net
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@257278 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-12 04:24:38 +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
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
Hannes Magnusson
9f8717e53a Fixed bug#40995 (Broken link in PHP Documentation)
#php.net/books doesn't exist anymore (was removed months ago)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233266 c90b9560-bf6c-de11-be94-00142212c4b1
2007-04-04 12:59:59 +00:00
Philip Olson
009395cfbc Miscellaneous formatting as per our guidelines:
Ex: windows->Windows, commandline->command line, webserver->web server
# Sorry translators, but it needed to be done


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229834 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-15 09:24:37 +00:00
Philip Olson
48af34847f Removing "autoglobal" in favor of "superglobal" as it's the "official" term.
This should not confuse users because superglobal is used about 4x as often
in the manual, and it's what most people say/write. This old term is leftover
from when these auto super global variables were first introduced.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229400 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-09 07:28:30 +00:00
Hannes Magnusson
28d89e0d1f WS - make the example look better
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229181 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-06 19:16:03 +00:00
Philip Olson
e40ef7e8a9 Added links/markup to the last commit by Rasmus
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@220085 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-16 20:21:09 +00:00
Rasmus Lerdorf
df5e8d8219 Could someone spruce this up a bit with links to the appropriate parts
of the docs for the functions and ext/filter?


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@220044 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-16 01:59:28 +00:00
Rasmus Lerdorf
f53d5072ab Add a note on the swallowed linefeed after a closing ?>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@209624 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-18 23:35:30 +00:00
Serdar Soydemir
ef20cf1eed *** empty log message ***
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@205035 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-12 16:16:54 +00:00
Serdar Soydemir
dd58759837 *** empty log message ***
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@205034 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-12 16:10:30 +00:00
Nuno Lopes
1f415928aa revert bogus commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@204951 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-11 12:47:17 +00:00
Serdar Soydemir
6021e9c198 Updated intro and translated part of tutorial
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@204932 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-10 23:53:57 +00:00
Nuno Lopes
3161f95cb7 fix IDs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165905 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-10 13:01:08 +00:00
Nuno Lopes
f8ab0f13f0 finally switch to the new install part
#going to sleep now :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165570 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-06 22:37:44 +00:00
Philip Olson
1279a4ae7c Fix missing/changed entities/ids.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163702 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-20 01:27:19 +00:00
Antony Dovgal
6eee725608 nuke redundant </para>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159490 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-24 07:11:05 +00:00
Gabor Hojtsy
553592bd19 reworded a lot of parts to make the tutorial more suitable for beginners
- point people to the mailing list where we write about installation
 - explain phpinfo() where it is first mentioned
 - explain problem with opening a PHP file from the file system
 - remove the xforms part and add it in features, since it does not
   belong in a *simple* tutorial
 - added some missing tags where needed, more interlinks to other parts
   of the manual


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159479 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-23 20:51:40 +00:00
Kenneth Schwartz
3ee3100436 changed links to new id's
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@154496 c90b9560-bf6c-de11-be94-00142212c4b1
2004-03-24 16:39:43 +00:00