Doc #66839 [Opn->Sus]: Docs list getConstList() for splEnum as static

From: Date: Tue, 10 Jan 2017 08:14:27 +0000
Subject: Doc #66839 [Opn->Sus]: Docs list getConstList() for splEnum as static
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14319@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66839&edit=1 ID: 66839 Updated by: kalle@php.net Reported by: dthomas at austincc dot edu Summary: Docs list getConstList() for splEnum as static -Status: Open +Status: Suspended Type: Documentation Problem Package: SPL_Types Operating System: Windows, All? PHP Version: 5.5.10 Block user comment: N Private report: N New Comment: Suspending this report as the extension have not had a release for almost 5 years. Please revive this if the extension once again shows life Previous Comments: ------------------------------------------------------------------------ [2014-03-07 00:18:21] dthomas at austincc dot edu Description: ------------ --- From manual page: http://www.php.net/splenum.getconstlist --- The code signature on this function is listed as static; however, the actual implementation is not static. splEnum::getConstList() vs instanceOf(splEnum)->getConstList() Personally, I would think it would make more sense to have it be static that way an instance doesn't have to be instantiated to query possible values. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66839&edit=1

« previous php.doc.bugs (#14319) next »