Last active
September 20, 2018 08:46
-
-
Save jonnybarnes/25c3a14b19dbfd69f72b1b6a4fa0d09a to your computer and use it in GitHub Desktop.
Revisions
-
jonnybarnes revised this gist
Sep 20, 2018 . 1 changed file with 10 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,17 @@ <?php class Foo { public static function bar(bool $input) { if ($input === true) { $variable = <<<TOKEN Hello World! TOKEN; echo $variable; } } } Foo::bar(true); -
jonnybarnes created this gist
Sep 11, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ <?php // some class // some method // an if statement $variable = <<<TOKEN Hello World! TOKEN; var_dump($variable);