/**
  * @param object $oExcept The \PH7\Framework\Error\CException\ErrException object.
  */
 function customExcept(ErrException $oExcept)
 {
     //header('HTTP/1.1 500 Internal Server Error');
     echo '<b>ERROR:</b><br /> Message: ', $oExcept->getMessage(), '<br />File: ', $oExcept->getFile(), 'Line: ', $oExcept->getLine(), '<br />';
 }
Exemplo n.º 2
0
</a></h3>
	<div id="<?php 
    echo $env_id;
    ?>
" class="collapsed">
		<table cellspacing="0">
			<?php 
    foreach ($GLOBALS[$var] as $key => $value) {
        ?>
			<tr>
				<td><code><?php 
        echo $key;
        ?>
</code></td>
				<td><pre style="padding:0;margin:0;"><?php 
        echo ErrException::dump($value);
        ?>
</pre></td>
			</tr>
			<?php 
    }
    ?>
		</table>
	</div>
	<?php 
}
?>
</div>
</div>
</div>