Bug #18219 Updated: missing line in example

From: Date: Mon, 08 Jul 2002 09:46:46 +0000
Subject: Bug #18219 Updated: missing line in example
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-11197@lists.php.net to get a copy of this message
ID: 18219 Updated by: sander@php.net Reported By: rashid@php.net -Status: Open +Status: Closed -Bug Type: Documentation problem +Bug Type: Website problem Operating System: any PHP Version: 4CVS-2002-07-08 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-07-08 03:59:36] rashid@php.net look at last example at http://www.php.net/ZEND_CHANGES.txt $backtrace = debug_backtrace(); foreach ($backtrace as $step) { $class = isset($step['class']) ? $step['class'] . '::' : ''; printf( "%s [%s:%s]\n", $step['function'], $step['file'], $step['line'] ); } $class is set but not used. i think that printf call should be changed to: printf( "%s%s [%s:%s]\n", $class, $step['function'], $step['file'], $step['line'] ); probably someone forgot to add this part, which is pretty important. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18219&edit=1

« previous php.mirrors (#11197) next »