Re: idea? add set_trace_handler() to PHP

From: Date: Fri, 25 Dec 2009 04:46:11 +0000
Subject: Re: idea? add set_trace_handler() to PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-300681@lists.php.net to get a copy of this message
already thought of a small improvement: function traceHandler ( $file = string;fullpath, $lineNumber = integer, $functionName = string, $eventIsStartOfFunction=boolean, // false = being called at exit of the function $arguments = array( '[&]$argumentVariableName' => anyVariable, .... ), $localVariables = array( 'localVariableName' => anyVariable, .... ), ADDED : $returnVariable = anyVariable // === null if $eventIsStartOfFunction===false ) { //do something }

« previous php.general (#300681) next »