for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sergiors\Functional;
/**
* @author Sérgio Rafael Siqueira <[email protected]>
*
* @return mixed
*/
function gt()
{
$args = func_get_args();
$gt = function ($x, $y) {
return $x > $y;
};
return call_user_func_array(curry($gt), $args);
}
* Just an alias.
function greater_than()
return call_user_func_array(__NAMESPACE__.'\greater_than', $args);