php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #47247 Method synopsis typo damages page
Submitted: 2009-01-30 01:09 UTC Modified: 2009-01-30 10:16 UTC
From: a at b dot c dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2009-01-30 01:09 UTC] a at b dot c dot de
Description:
------------
Two pages in the manual have errors in their method descriptions that cause the typesetting of the rest of the page to be incorrect: everything from that point on ends up using monospaced text.

<div class="methodsynopsis dc-description">
    <span class="type">resource</span> <span class="methodname"><b>PDF_new</b></span>
     ( <span class="methodparam"> <tt class="parameter">$</span>

    )</div>

The '$' shouldn't be there as these methods do not take arguments, and the <tt class="parameter"> is never closed, causing the formatting glitch.

This also affects downloadable forms of the manual, including bightml (where it was originally found).

Reproduce code:
---------------
http://www.php.net/samconnection-constructor
http://www.php.net/pdf-new



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-30 10:16 UTC] bjori@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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 05 23:00:01 2026 UTC