php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54277 ReflectionClass::getInterfaceNames() not available in PHP 5.1.6
Submitted: 2011-03-16 18:28 UTC Modified: 2011-03-17 03:47 UTC
From: zippidyzap at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2011-03-16 18:28 UTC] zippidyzap at gmail dot com
Description:
------------
The manual states that ReflectionClass::getInterfaceNames() is available in php 5, however it is not usable in PHP 5.1.6.  Attempting to use it results in the following error:

Fatal error: Call to undefined method ReflectionClass::getInterfaceNames() in ...

It would be great to know the correct version this method was added.

---
From manual page: http://www.php.net/reflectionclass.getinterfacenames#Description
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-17 03:35 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2011-03-17 03:35 UTC] aharvey@php.net
Looks like it was 5.2.0. I'll fix it up.
 [2011-03-17 03:47 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=309321
Log: Fix doc bug #54277 (ReflectionClass::getInterfaceNames() not available in PHP
5.1.6).
 [2011-03-17 03:47 UTC] aharvey@php.net
-Status: Assigned +Status: Closed
 [2011-03-17 03:47 UTC] aharvey@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: Sat Oct 10 14:00:02 2026 UTC