Skip to content

Commit

Permalink
fix #16098: suppress notices due to use of FILE_BINARY
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/pecl/xhprof/trunk@278227 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
kannan committed Apr 3, 2009
1 parent 3944f38 commit a693abf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ XHProf is a function-level hierarchical profiler for PHP and has a simple HTML b
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
-- fix #16098: suppress notices due to use of FILE_BINARY (kannan)
-- add a sanity test for timer (kannan)
-- fix for compile error on debian linux (russ)
</notes>
Expand Down
4 changes: 2 additions & 2 deletions xhprof_html/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ <h3>XHProf Documentation (Draft)</h3>
(
[foo==>bar] => Array
(
[ct] => 2 # 2 calls to bar() from
[ct] => 2 # 2 calls to bar() from foo()
[wt] => 27 # inclusive time in bar() when called from foo()
)

Expand Down Expand Up @@ -767,7 +767,7 @@ <h3>XHProf Documentation (Draft)</h3>
draw/generate an image for a directed graph.

</ul>
<li><a name="usage"><h2>Acknowledgements</h2></a>
<li><a name="credits"><h2>Acknowledgements</h2></a>

<p>The HTML-based navigational interface for browsing profiler results
is inspired by that of a similar tool that exists for Oracle's stored
Expand Down
2 changes: 1 addition & 1 deletion xhprof_lib/utils/xhprof_runs.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function get_run($run_id, $type, &$run_desc) {
return null;
}

$contents = file_get_contents($file_name, FILE_BINARY);
$contents = file_get_contents($file_name);
$run_desc = "XHProf Run (Namespace=$type)";
return unserialize($contents);
}
Expand Down

0 comments on commit a693abf

Please sign in to comment.