Re: Interfaces and ReflectionMethod::isConstructor()

From: Date: Sat, 28 Mar 2020 07:54:52 +0000
Subject: Re: Interfaces and ReflectionMethod::isConstructor()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-109378@lists.php.net to get a copy of this message
Am 28.03.2020 um 08:44 schrieb Sebastian Bergmann:
<?php interface I {
     public function __construct();
} var_dump((new ReflectionMethod(I::class, '__construct'))->isConstructor());
Here is the version of the script for testing with dead versions of PHP: https://3v4l.org/fMCub

« previous php.internals (#109378) next »