Created
April 22, 2014 16:35
-
-
Save JoelMarcey/11185876 to your computer and use it in GitHub Desktop.
fromArray doesn't exist; use constructor instead.
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
<?hh | |
function main(): void { | |
$x = array(1, 2, 3); | |
$y = new ImmMap($x); | |
var_dump($y); | |
} | |
main(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment