Psalm
Get started
Documentation
Plugins
Articles
GitHub
<?php /** * @param callable(int, int): bool $max */ function highOrderedFunction(callable $max): bool { return $max(3, 2); } highOrderedFunction(function (string $_left, int $right): bool { return $right > 1; });
Snippet created on December 14 2021 at 05:31 UTC
Settings
Get link