Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // funcA.php
- function funcA ($name)
- {
- return strtoupper($name);
- }
- <?php
- // funcB.php
- function funcB ($name)
- {
- return substr($name, -3);
- }
- <?php
- // funcC.php
- function funcC ($name)
- {
- return pipe(
- funcA,
- funcB
- )($name);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement