2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-21 05:22:21 +00:00
Files
website/common/code/test/tests/bootstrap/error-fail3.phpt
2017-02-09 13:28:46 +00:00

14 lines
264 B
PHP

<?php
/**
* Check that error reporting works for a weak error_reporting.
*
* @httpCode 500
* @exitCode 255
*/
error_reporting(0);
require_once(__DIR__.'/../../../bootstrap.php');
error_reporting(E_WARNING);
file_get_contents(__DIR__.'/does-not-exist.txt');