![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| anant Thu May 24 05:23:20 2007 UTC Modified files: /pear/Benchmark/Benchmark Profiler.php Timer.php Log: Fix bug #8748, to support both PHP 4 and 5 class behaviours. http://cvs.php.net/viewvc.cgi/pear/B...&diff_format=u Index: pear/Benchmark/Benchmark/Profiler.php diff -u pear/Benchmark/Benchmark/Profiler.php:1.1 pear/Benchmark/Benchmark/Profiler.php:1.2 --- pear/Benchmark/Benchmark/Profiler.php:1.1 Thu May 24 05:17:56 2007 +++ pear/Benchmark/Benchmark/Profiler.php Thu May 24 05:23:20 2007 @@ -14,7 +14,7 @@ // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // -// $Id: Profiler.php,v 1.1 2007/05/24 05:17:56 anant Exp $ +// $Id: Profiler.php,v 1.2 2007/05/24 05:23:20 anant Exp $ // require_once 'PEAR.php'; @@ -157,11 +157,11 @@ } /** - * Destructor, stops profiling recording + * Close method, stop profiling recording and display output. * - * @access private + * @access public */ - function _Benchmark_Profiler() { + function close() { if (isset($this->_auto) && $this->_auto) { $this->stop(); $this->display(); http://cvs.php.net/viewvc.cgi/pear/B...&diff_format=u Index: pear/Benchmark/Benchmark/Timer.php diff -u pear/Benchmark/Benchmark/Timer.php:1.1 pear/Benchmark/Benchmark/Timer.php:1.2 --- pear/Benchmark/Benchmark/Timer.php:1.1 Thu May 24 05:17:56 2007 +++ pear/Benchmark/Benchmark/Timer.php Thu May 24 05:23:20 2007 @@ -14,7 +14,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: Timer.php,v 1.1 2007/05/24 05:17:56 anant Exp $ +// $Id: Timer.php,v 1.2 2007/05/24 05:23:20 anant Exp $ // require_once 'PEAR.php'; @@ -99,11 +99,11 @@ } /** - * Destructor. + * Close method. Stop timer and display output. * - * @access private + * @access public */ - function _Benchmark_Timer() { + function close() { if ($this->auto) { $this->stop(); $this->display(); | |||
| Featured Websites | ||||
|
![]() |
| Tags: benchmarkbenchmark, cvs, pear, profilerphp, timerphp |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cvs: pear /Benchmark Iterate.php Profiler.php Timer.php package.xml package2.xml /Benchmark/Benchmark Iterate.php Profiler.php Timer.php | Anant Narayanan | Pear | 0 | 05-27-2007 7:46 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR/PackageFile/Generator v2.php | Greg Beaver | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR Installer.php /PEAR/PackageFile v1.php /PEAR/PackageFile/v2 Validator.php | Greg Beaver | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR Downloader.php /PEAR/Downloader Package.php | Greg Beaver | Pear | 0 | 05-20-2007 7:42 PM |
| Featured Websites | ||||
|