Edit report at https://pear.php.net/bugs/bug.php?id=18045&edit=1

ID: 18045
Updated by: daniel.oconnor@gmail.com
Reported By: janusz at fide dot pl
Summary: Profiler::enterSection is broken
-Status: Open
+Status: Closed
Type: Bug
Package: Benchmark
Operating System: OS X
Package Version: 1.2.8
PHP Version: 5.3.3
-Assigned To:
+Assigned To: doconnor
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: doconnor
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Previous Comments:

[2010-11-12 00:44:06] jszczypk

I am getting a lot of "Illegal offset type" for lines 423 and 426 of
Looks like somebody forgot to put ["name"] after $item.

Expected result:
Profiler.php lines 420-430
if (isset($this->_callers[$name][$item["name"]])) {


} else {

$this->_callers[$name][$item["name"]] = 1;


if (isset($this->_calls[$item["name"]][$name])) {


} else {

$this->_calls[$item["name"]][$name] = 1;



Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedDec 10, '11 at 3:57a
activeDec 10, '11 at 3:57a

1 user in discussion

Daniel Oconnor: 1 post



site design / logo © 2022 Grokbase