Zend - The PHP Company




Utilities

Add Code


PHP Trace  

Type: code fragment
Added by: anditrinculescu
Entered: 19/03/2004
Last modified: 03/12/2003
Rating: - (fewer than 3 votes)
Views: 8075
PHP Trace is a function which displays informations about a given variable in a friendly format. It uses the PHP function var_dump. Usage: trace($var, __FILE__, __LINE__)


<?php
include_once 'debug.php';
trace($var__FILE____LINE__);
?>


Usage Example


See the example


Rate This Script





Search



This Category All Categories