PHP Classes

File: src/public/template/view.php

Recommend this page to a friend!
  Classes of Josantonius   PHP Error Handler   src/public/template/view.php   Download  
File: src/public/template/view.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Error Handler
Register handler for PHP errors and exceptions
Author: By
Last change: Updated to 1.1.8 version
Date: 6 years ago
Size: 1,040 bytes
 

Contents

Class file image Download
<?php
/**
 * PHP library for handling exceptions and errors.
 *
 * @author Josantonius <hello@josantonius.com>
 * @copyright 2016 - 2018 (c) Josantonius - PHP-DataType
 * @license https://opensource.org/licenses/MIT - The MIT License (MIT)
 * @link https://github.com/Josantonius/PHP-ErrorHandler
 * @since 1.0.0
 */
?>
<div class="jst-alert Default <?=$stack['type']?>">

   <span class="jst-head">
        <?=$stack['code']?>
<?=strtoupper($stack['type'])?>
<a href="https://stackoverflow.com/search?q=[php] <?=$stack['message']?>" class="so-link">&#9906;</a>
   </span>

   <span class="jst-head jst-right">
        <?=$stack['mode']?>
</span>

   <span class="jst-message"><br><br>
        <?=$stack['message']?>
</span><br><br>

   <div class="jst-preview">
        <span class="jst-file">
            <?=$stack['file']?>
</span><br>
        <code>
        <?=$stack['preview']?>
</code>
   </div>

   <div class="jst-trace">
        <?=nl2br($stack['trace'])?>
</div><br>

</div>