Last active
September 20, 2018 08:47
-
-
Save jonnybarnes/3a789fcaa7b1bbb8124e2a11503c65f0 to your computer and use it in GitHub Desktop.
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 | |
class Foo | |
{ | |
public static function bar(bool $input) | |
{ | |
if ($input === true) { | |
$variable = <<<TOKEN | |
Hello | |
World! | |
TOKEN; | |
echo $variable | |
} | |
} | |
} | |
Foo::bar(true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment