Closed algo13 closed 7 years ago
Notice: Method __construct cannot return a value. [return.construct]
class C { public function __construct() { array_filter([], function ($var) { return false; }); new class { function f(){ return 1; } }; function f() { return 1; } } }
Thanks for notice, I will review it ASAP and think a little bit more about this problem
Cherry-picked in master branch by https://github.com/ovr/phpsa/commit/c4e16ff1e49f9900d97655032173501669ab8911
master
Thanks
Notice: Method __construct cannot return a value. [return.construct]