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 <?php



error_reporting(E_ALL);



test('deprecated', function () {

    str_contains(null, null);