PHP Classes

File: index3.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Johan Barbier  >  PHP Debugger and Helper  >  index3.php  >  Download  
File: index3.php
Role: Example script
Content type: text/plain
Description: example
Class: PHP Debugger and Helper
Log errors and check PHP code
Author: By
Last change: changed the exemple
Date: 9 years ago
Size: 463 bytes


Class file image Download
('Content-type: text/html; charset=utf-8');
$odebug = new odebugger ('FR');
$odebug -> CSS = 'default';
$odebug -> HTML = 'default';

$odebug -> LOGFILE = false; // set log to file off

* example on how to check a given code (here, odebugger will evaluate the code in the 'test.php' file)
$odebug -> checkCode ('test.php'); // or
//$odebug -> checkCode (file_get_contents ('test.php'));