error_reporting

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sets which PHP errors are reported
<?php error_reporting(?int $error_level = null): int
<?php use Bref\Runtime\LambdaRuntime;



ini_set('display_errors', '1');

error_reporting(E_ALL);



$appRoot = getenv('LAMBDA_TASK_ROOT');
<?php         ini_set('display_errors', '1');

        error_reporting(E_ALL);



        $requestId = '8f507cfc-example-4697-b07a-ac58fc914c95';

        $startTime = $this->logStart($io, $requestId);