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

14 lines
246 B
PHP

<?php
/**
* Check that the error reporter catches an error
*
* @httpCode 500
* @exitCode 255
*/
error_reporting(0);
require_once(__DIR__.'/../../../bootstrap.php');
error_reporting(E_ALL);
file_get_contents(__DIR__.'/does-not-exist.txt');