Serverless computing has taken web development by storm, and Google has recently updated their Google Cloud Functions to support PHP 7.4! We'll walk through setting up a function and how it all works.
16. @dragonmantank
Functions
Example Time
// Top level functions
function add(
int $one, int $two
) {
return $one + $two;
}
// Variable functions
$func = function(
int $one, int $two
) {
return $one + $two;
}
17. @dragonmantank
Functions
Example Time
// Top level functions
function add(
int $one, int $two
) {
return $one + $two;
}
// Variable functions
$func = function(
int $one, int $two
) {
return $one + $two;
}
19. @dragonmantank Serverless
Your PHP Function
Your PHP Function
Your PHP Function
Your PHP Function
Your PHP Function
Your PHP Function
Your PHP Function