php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #48631 Incorrect code example in documentation
Submitted: 2009-06-21 20:09 UTC Modified: 2009-06-23 04:05 UTC
From: j at jonix dot eml dot cc Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2009-06-21 20:09 UTC] j at jonix dot eml dot cc
Description:
------------
A minor error

Where: In the Language Options section under the explanation of short_open_tag in the XML example.

What: The closing portion of the XML directive (?>) is missing.
Better would be <?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>

Reproduce code:
---------------
---
From manual page: ini.core
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-23 04:05 UTC] rasmus@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of rasmus
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=07e23094b74168ec48c8061155d6a1c4722d0f18
Log: Daily doc commit - fixed bug #48631
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 15:00:01 2026 UTC