<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

# Google Cloud Functions Global vs Function Scope sample

This simple tutorial creates a heavy object only once per function instance, and shares it across all function invocations reaching the given instance.

- View the [source code][code].
- See the [tutorial].

[code]: index.php
[tutorial]: https://cloud.google.com/functions/docs/samples/functions-tips-scopes
