cvs: ZendEngine2 / ZEND_CHANGES

From: Date: Sun, 12 May 2002 08:33:18 +0000
Subject: cvs: ZendEngine2 / ZEND_CHANGES
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-118@lists.php.net to get a copy of this message
sebastian Sun May 12 04:33:18 2002 EDT Modified files: /ZendEngine2 ZEND_CHANGES Log: Beautify. Index: ZendEngine2/ZEND_CHANGES diff -u ZendEngine2/ZEND_CHANGES:1.24 ZendEngine2/ZEND_CHANGES:1.25 --- ZendEngine2/ZEND_CHANGES:1.24 Sun May 12 04:16:14 2002 +++ ZendEngine2/ZEND_CHANGES Sun May 12 04:33:18 2002 @@ -502,17 +502,14 @@ $backtrace = debug_backtrace(); foreach ($backtrace as $step) { - if (isset($step['class'])) { - print $step['class']; - print '::'; - } + $class = isset($step['class']) ? $step['class'] . '::' : ''; - print $step['function']; - print ' ['; - print $step['file']; - print ':'; - print $step['line']; - print "]\n"; + printf( + "%s [%s:%s]\n", + $step['function'], + $step['file'], + $step['line'] + ); } ?>

« previous php.zend-engine.cvs (#118) next »