diff options
author | Andrey Andreev <narf@devilix.net> | 2017-10-02 09:48:20 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-10-02 09:48:20 +0200 |
commit | 09a05e1d9df3e71dec4f622ae28dafbce9515273 (patch) | |
tree | 7432235de3b9cb2d87a1d6ff01277eb46df6c021 /user_guide_src/source/general | |
parent | db92b5b336cbc6603f613916bde55940c9c24a05 (diff) |
[ci skip] Drop docs section about short PHP tags (close #5280)
Diffstat (limited to 'user_guide_src/source/general')
-rw-r--r-- | user_guide_src/source/general/alternative_php.rst | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/user_guide_src/source/general/alternative_php.rst b/user_guide_src/source/general/alternative_php.rst index 418d2e6eb..7f3a05e56 100644 --- a/user_guide_src/source/general/alternative_php.rst +++ b/user_guide_src/source/general/alternative_php.rst @@ -10,20 +10,6 @@ alternative syntax for control structures and short tag echo statements. If you are not familiar with this syntax, it allows you to eliminate the braces from your code, and eliminate "echo" statements. -Automatic Short Tag Support -=========================== - -.. note:: If you find that the syntax described in this page does not - work on your server it might be that "short tags" are disabled in your - PHP ini file. CodeIgniter will optionally rewrite short tags on-the-fly, - allowing you to use that syntax even if your server doesn't support it. - This feature can be enabled in your *config/config.php* file. - -Please note that if you do use this feature, if PHP errors are -encountered in your **view files**, the error message and line number -will not be accurately shown. Instead, all errors will be shown as -``eval()`` errors. - Alternative Echos ================= @@ -72,4 +58,4 @@ Here is another example, using ``if``/``elseif``/``else``. Notice the colons:: <h3>Hi unknown user</h3> - <?php endif; ?>
\ No newline at end of file + <?php endif; ?> |