Created
September 15, 2017 19:05
-
-
Save sgolemon/fdb3cf049a7d73217fbc5f6ac6224c28 to your computer and use it in GitHub Desktop.
PipeOp2 Usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$x = "hello" | |
|> 'strtoupper' | |
|> function($x) { return $x . " world"; }; | |
// $x === "HELLO world" | |
# LHS is any expression | |
# RHS is callable taking one arg (that arg being LHS output) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment