use Psr\Http\Message\ServerRequestInterface;function phpInfoDemo(ServerRequestInterface $request): string{ // phpinfo() displays its output directly in the function's // HTTP response, so we don't need to explicitly return it // // Note: we recommend deleting the deployed Cloud Function once you no // longer need it, as phpinfo() may broadcast potential security issues. phpinfo(); return '';}
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-25 UTC。"],[[["Cloud Run functions use `nginx` and `PHP-FPM` to serve requests and run in an environment defined by the language version, known as the runtime."],["You can select the preferred PHP runtime version for your function during deployment, with several versions supported and listed on the Runtime support page."],["Functions can be deployed using the Google Cloud CLI with the `--runtime` parameter, or through the Google Cloud console."],["PHP functions can be prepared locally or directly in the Google Cloud console, and use the PHP Functions Framework library."],["Dependencies for your PHP function are specified in a `composer.json` file, and configurations can be managed via a `php.ini` file in the root directory."]]],[]]