Interpreted language, in order to run the code you must have a *nix computer if it is Linux it will likely have php installed.
On Windows later versions of Windows 10 have a unix subsystem which may come with php
# source in fn.php
chmod +x fn.sh
./fn.php
# or
php fn.php