Skip to content

Instantly share code, notes, and snippets.

@mgsmus
Last active December 8, 2019 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgsmus/544a30f8035f7bfc98fe67a8455679ae to your computer and use it in GitHub Desktop.
Save mgsmus/544a30f8035f7bfc98fe67a8455679ae to your computer and use it in GitHub Desktop.
<?php
$y = 1;
$total = fn($x) => $x + $y;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment