php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #41570 Reflection*::__construct() should return "void" not "object"
Submitted: 2007-06-02 20:58 UTC Modified: 2007-06-17 09:29 UTC
From: salsi at icosaedro dot it Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2007-06-02 20:58 UTC] salsi at icosaedro dot it
Description:
------------
The page of the manual that documents the Reflection* classes reports some __construct() method retuns a value of type "object". While this may be true for the functions that implement these methods in the C source, methods of the PHP languare never return a value and should return "void" instead.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-17 09:29 UTC] gwynne@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-2025 The PHP Group
All rights reserved.
Last updated: Tue Aug 05 07:00:02 2025 UTC