Created
February 20, 2015 18:06
-
-
Save ralt/c6b5e06d628148980a9d to your computer and use it in GitHub Desktop.
This file contains 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 | |
declare(strict_type=1); | |
require_once('fileB.php'); | |
function foo(int $bar) { | |
bar($bar); | |
} |
This file contains 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 | |
function bar(string $baz) { | |
echo $baz; | |
} |
This file contains 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 | |
require_once('fileA.php'); | |
foo(1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment