Bug #72305 [Sus->Csd]: ReflectionParameter::isCallable is not implemented properly

From: Date: Sun, 28 Jun 2020 09:49:41 +0000
Subject: Bug #72305 [Sus->Csd]: ReflectionParameter::isCallable is not implemented properly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227706@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72305&edit=1

 ID:                 72305
 Updated by:         cmb@php.net
 Reported by:        php at abiusx dot com
 Summary:            ReflectionParameter::isCallable is not implemented
                     properly
-Status:             Suspended
+Status:             Closed
 Type:               Bug
 Package:            Reflection related
 Operating System:   OS X
 PHP Version:        7.0.7
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

The parameter types of internal functions are now supposed to be
available for the core and bundled extensions.

Note though, that ReflectionParameter::isCallable() has been
deprecated, and you're supposed to use
ReflectionParameter::getType() and the ReflectionType API instead.


Previous Comments:
------------------------------------------------------------------------
[2019-11-04 09:45:18] cmb@php.net

Well, since we're working on this, I suspend this ticket.

------------------------------------------------------------------------
[2019-09-29 14:05:40] cmb@php.net

For the record, this had to be postponed to PHP 8[1], and is still
work in progress.

[1] <https://externals.io/message/105970>

------------------------------------------------------------------------
[2018-02-23 22:32:54] cmb@php.net

Related To: Bug #69987

------------------------------------------------------------------------
[2017-01-11 09:13:56] krakjoe@php.net

Christoph, assigning this to you, can you chase Anatol and find out if this is okay for 7.0.

It's fine in 7.1 and master.

Commit when confirmed, thank you.

------------------------------------------------------------------------
[2016-12-10 18:57:40] cmb@php.net

The following patch has been added/updated:

Patch Name: reflection-callable-poc
Revision:   1481396260
URL:        https://bugs.php.net/patch-display.php?bug=72305&patch=reflection-callable-poc&revision=1481396260

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=72305


--
Edit this bug report at https://bugs.php.net/bug.php?id=72305&edit=1


Thread (7 messages)

« previous php.bugs (#227706) next »