1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 07:42:10 +01:00
Commit Graph

90 Commits

Author SHA1 Message Date
Mikhail Alferov
0e618211e5 basic-syntax.xml Specify when it is better to skip closing PHP tags (#4304)
It seemed to me that limiting the skipping of closing PHP tags to only files that contain only PHP code is misleading. After all, we skip closing tags in files with mixed content too, and the condition for skipping is not whether the file consists only of PHP code, but whether the file ends with PHP code
2025-04-24 16:36:59 +02:00
Derick Rethans
8d3531e9d0 Enable WASM for language.basic-syntax, and tweak examples 2025-04-09 10:00:48 +01:00
philip
8ad67ee7a8 Clarify whitespace requirement after <?php and improve wording,
this closes https://github.com/php/doc-en/issues/3190
2025-02-28 14:53:49 -08:00
Philippe DELENTE
f4f96ef8b2 fix double space in various language pages (#4439) 2025-02-04 19:26:08 +00:00
brycesharpookla
6b09bb638a Update basic-syntax.xml to fix typo
Fixes typo in the note about not using short tags
2021-08-19 20:21:59 +02:00
rochdiNassah
c630570335 Fix Typo
Closes GH-503.
2021-03-25 18:30:31 +01:00
George Peter Banyard
a71742330d Further removal of PHP 5 mentions in language section
Closes GH-173

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351340 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-09 13:27:06 +00:00
George Peter Banyard
cdaea04215 Remove mention of PHP 5 in Language Reference section
This does not cover the OOP nor Error sections, but everything else should be covered

Closes GH-156

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351112 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-31 19:13:58 +00:00
George Peter Banyard
298f39a1cf Improve fix for Doc Bug #78581 as per Editor recommendation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348031 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-21 15:15:07 +00:00
George Peter Banyard
d1a445bc7a Fix Doc Bug #78581 No mention of <?= other than in the chagelog of the PHP tags doc page
Added a paragraph about the short echo tag.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348029 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-21 14:35:28 +00:00
Christoph Michael Becker
2fd5de559f Fix wording
Inspired by a patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346150 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-03 15:16:16 +00:00
Maciej Sobaczewski
445962cfde These all should be informal examples
<informalexample> doesn't require title and therefore unclutters Example Index

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341083 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-20 22:47:03 +00:00
Christoph Michael Becker
aab798bada Typo fixes provided by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339802 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-05 13:14:41 +00:00
Adam Harvey
5bdb18a52e Update the basic syntax documentation for the removed tags in PHP 7.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337351 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:42 +00:00
Pasindu De Silva
48d21bbd42 Added Changelogs about the removal of asp tags , script tag from php 7, to asp ini and basic syntax open tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336578 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-18 11:45:03 +00:00
Maciek Sokolewicz
9c02dc54d8 reworded description of short_open_tags (increased accuracy); patch provided by Kirk Bater
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335256 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-08 13:48:32 +00:00
Peter Cowburn
6b24e8069b typofix (Patch by anonymous #46779)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334259 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-12 21:03:57 +00:00
Jean-Sebastien Hedde
18be881ca2 Fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333475 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-05 13:01:29 +00:00
Joe Watkins
fd220589cb made a mess
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332154 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-18 03:22:53 +00:00
Joe Watkins
272d3d301e fix a blunder
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332149 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-17 16:35:10 +00:00
Joe Watkins
7abfa104a6 fix #66097 update information on short tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332148 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-17 08:57:27 +00:00
Peter Cowburn
203cd3e98e minor grammar improvements
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325975 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-04 21:24:50 +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
Adam Harvey
2fea17adb9 Fix doc bug #61723 (<?php issues a parse error).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325166 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-14 07:04:12 +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
Drak
7d47c92b69 Apply coding standards and reword explanations.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324268 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-15 11:38:13 +00:00
Drak
0f079ce044 Change case
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324265 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-15 05:45:49 +00:00
Drak
0a8894e338 Added missing title.
The build checker didnt pick this up - a title should be mandatory.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324264 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-15 05:32:58 +00:00
Drak
15f58d7196 Clarified how PHP skips over unmet conditions when using mixed PHP and non PHP content in a file.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324248 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-14 18:49:47 +00:00
Drak
ca0644fa93 Add extra section on PHP tags.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324247 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-14 18:11:04 +00:00
Richard Quadling
62d2701405 W/S, Tab removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318457 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-27 09:21:48 +00:00
Stanislav Malyshev
89339f57c3 document stort echo tag change
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318140 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-16 01:38:20 +00:00
Nikola Smolenski
bb33d2a40c en/language/control-structures/continue.xml: a few smaller fixes, reword
misleading claim about behaviour of print()

en/language/basic-syntax.xml: minor fix

en/install/windows/index.xml: rm duplication, dilute "advertisement" for
Visual Studio.

New sr translations.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310698 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-02 04:36:29 +00:00
Daniel Egeberg
61bb68cc6d Fixed PHP bug #51550 ('Open php' tag at end of file causes 'syntax error, unexpected ')
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297962 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-13 14:23:28 +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
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
Carola 'Sammy' Kummert
660ddc2fe3 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283574 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-06 14:41:34 +00:00
Rasmus Lerdorf
07e23094b7 Daily doc commit - fixed bug #48631
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282620 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 04:04:50 +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
Richard Quadling
57c8a8955a Fix #41281 - include comment about newline being absorbed by "end of php block".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@234932 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-04 12:41:15 +00:00
Rasmus Lerdorf
8d1d6291bd Make it explicit that this applies to both // and #
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@200106 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-06 18:00:32 +00:00
Rasmus Lerdorf
7397252121 Fix up the wording a bit here
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@200016 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-05 08:08:34 +00:00
Gabor Hojtsy
fdbbac8403 last PHP closing tag is not required:
- give an example
 - give better reasons on when it might be helpful


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@197095 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-27 18:22:19 +00:00
Gabor Hojtsy
739f806cce avoid 'not using' and 'using' in the same sentence
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194080 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-21 13:08:21 +00:00
Jakub Vrana
e97788c1fe Instruction termination (bug #33337)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188367 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-14 12:23:11 +00:00
Jakub Vrana
4424d95a18 // </script> doesn't escape from PHP (bug #31672)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183303 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-31 21:12:56 +00:00
Derek Ford
70c2b1a741 fixing examples in basic-syntax.comments
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180162 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-20 06:11:25 +00:00
Derek Ford
419778bcf5 fixing last closing tag note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180161 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-20 06:06:49 +00:00