Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Phan by Etsy – A Static Analyzer for PHP 7+. Parent comment
I do this for things like:
$user_requirements = [filter1, filter2];
foreach ($user_requirements as $test) { if (!$test($some_data)) { return false; } return true; }
Is there any way to tell the analyzer to make sure that afunction of n arguments is passed in?
There are no comments on this comment yet.
I do this for things like:
$user_requirements = [filter1, filter2];
foreach ($user_requirements as $test) { if (!$test($some_data)) { return false; } return true; }
Is there any way to tell the analyzer to make sure that afunction of n arguments is passed in?