Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The Case of the Null Reference: Code Listing 2
<?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