PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Christian   Debug_class   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example call
Class: Debug_class
Output values of variables
Author: By
Last change:
Date: 15 years ago
Size: 286 bytes
 

Contents

Class file image Download
// find out what you have and where you are
Debug::write($x, $y, 1, PHP_INT_MAX, 12.34);

// same as above, but exit() will be called after output
Debug::stop(1,2,3,4,5,6,7,8,9);

// debug output is passed to error_log
Debug::log("test");

// use as much parameters as you like