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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to