Last active
September 20, 2018 08:46
-
-
Save jonnybarnes/25c3a14b19dbfd69f72b1b6a4fa0d09a 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