Created
February 19, 2017 13:54
-
-
Save Fleshgrinder/b5f6f60e883960af77a0c1bb5abc1c66 to your computer and use it in GitHub Desktop.
The Case of the Null Reference: Code Listing 2
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 | |
final class Main { | |
public static function f(int $x): int { | |
return $x + 42; | |
} | |
} | |
Main::f(null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment