php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78707 ReflectionClass::implementsInterface - incomplete documentation
Submitted: 2019-10-21 07:42 UTC Modified: 2020-11-04 11:40 UTC
From: fabien dot villepinte at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Reflection related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fabien dot villepinte at gmail dot com
New email:
PHP Version: OS:

 

 [2019-10-21 07:42 UTC] fabien dot villepinte at gmail dot com
Description:
------------
Two elements are missing from the documentation of ReflectionClass::implementsInterface():
- the $interface parameter may also be a ReflectionClass instance
- the method throws a ReflectionException $interface is not an interface

See: https://www.php.net/manual/en/reflectionclass.implementsinterface.php


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-11-04 22:48 UTC] camporter1 at gmail dot com
Sent a docbook patch to add these clarifications: https://edit.php.net/?patchID=3449&project=PHP
 [2020-11-04 11:40 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2020-11-04 11:42 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=91de67290f005d154ba11a39dd2f9d18de71887a
Log: Fix #78707: ReflectionClass::implementsInterface - incomplete documentation
 [2020-11-04 11:42 UTC] phpdocbot@php.net
-Status: Assigned +Status: Closed
 [2020-11-04 18:15 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=e085188c3b1906086edb7e1bd404654bffaa6bf4
Log: Fix #78707: ReflectionClass::implementsInterface - incomplete documentation
 [2020-12-30 11:58 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=788301a09673e4c98a09ef5638e6b9d41aeea3c2
Log: Fix #78707: ReflectionClass::implementsInterface - incomplete documentation
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC