[DOC-CVS] [doc-en] master: Fix reference to non-existent "example three" (#5724)
[email protected] (Gabriel Cordeiro Barroso Teles via GitHub) Thu, 30 Jul 2026 14:20:06 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Gabriel Cordeiro Barroso Teles (GabrielCordeiroBarrosoTeles) Committer: GitHub (web-flow) Pusher: jordikroon Date: 2026-07-30T16:20:02+02:00 Commit: https://github.com/php/doc-en/commit/fa67e21421448a20fe701a20897c30f93072e64b Raw diff: https://github.com/php/doc-en/commit/fa67e21421448a20fe701a20897c30f93072e64b.diff Fix reference to non-existent "example three" (#5724) * [skip-revcheck] Fix reference to non-existent "example three" The short tags paragraph referred to "example three", but the page only has a single <example> block containing three manually numbered code snippets, not three separate examples. Point to the third line of that example instead. Closes php/doc-en#5685 Co-authored-by: Jordi Kroon <[email protected]> Changed paths: M language/basic-syntax.xml Diff: diff --git a/language/basic-syntax.xml b/language/basic-syntax.xml index 7b734df6004c..fe848d34a73d 100644 --- a/language/basic-syntax.xml +++ b/language/basic-syntax.xml @@ -40,12 +40,12 @@ </example> </para> - <para> - Short tags (example three) are available by default but can be disabled + <simpara> + Short tags (the third line in the example above) are available by default but can be disabled either via the <link linkend="ini.short-open-tag">short_open_tag</link> &php.ini; configuration file directive, or are disabled by default if PHP is built with the <option>--disable-short-tags</option> configuration. - </para> + </simpara> <para> <note> <para>