new get_stack_frames() function?

From: Date: Tue, 07 Dec 1999 09:55:39 +0000
Subject: new get_stack_frames() function?
Groups: php.version4 
Request: Send a blank email to php-version4+get-7582@lists.php.net to get a copy of this message
hi, i'm starting to thing about functions that make debugging a php-app easier. i'd love to see a get_stack_frame() function that will output an array like this: array( array("file" => "webcounter.php", "function" => "main()", "line" =>12), array("file" => "webcounter.php", "function" => "getstats()", "line" =>456) ..etcetc... ) (no i need to push my luck;-) nice to have would be a function get_stack_frame_info($stackpos). that would return all the known info for stack-frame $stackpos (locals etc). does that make sense? tc Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#7582) next »