for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Prelude;
const compose = __NAMESPACE__.'\compose';
/**
* Performs right-to-left function composition.
* The rightmost function may have any arity; the remaining functions must be unary.
*/
function compose(...$args)
{
return pipe(...array_reverse($args));
}