Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider a693abf3 rédigé par kannan's avatar kannan
Parcourir les fichiers

fix #16098: suppress notices due to use of FILE_BINARY

git-svn-id: https://svn.php.net/repository/pecl/xhprof/trunk@278227 c90b9560-bf6c-de11-be94-00142212c4b1
parent 3944f388
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -44,6 +44,7 @@ XHProf is a function-level hierarchical profiler for PHP and has a simple HTML b ...@@ -44,6 +44,7 @@ XHProf is a function-level hierarchical profiler for PHP and has a simple HTML b
</stability> </stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license> <license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes> <notes>
-- fix #16098: suppress notices due to use of FILE_BINARY (kannan)
-- add a sanity test for timer (kannan) -- add a sanity test for timer (kannan)
-- fix for compile error on debian linux (russ) -- fix for compile error on debian linux (russ)
</notes> </notes>
......
...@@ -351,7 +351,7 @@ Array ...@@ -351,7 +351,7 @@ Array
( (
[foo==>bar] => Array [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() [wt] => 27 # inclusive time in bar() when called from foo()
) )
...@@ -767,7 +767,7 @@ Graphviz "dot" utility in your path. "dot" is a utility to ...@@ -767,7 +767,7 @@ Graphviz "dot" utility in your path. "dot" is a utility to
draw/generate an image for a directed graph. draw/generate an image for a directed graph.
</ul> </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 <p>The HTML-based navigational interface for browsing profiler results
is inspired by that of a similar tool that exists for Oracle's stored is inspired by that of a similar tool that exists for Oracle's stored
......
...@@ -116,7 +116,7 @@ class XHProfRuns_Default implements iXHProfRuns { ...@@ -116,7 +116,7 @@ class XHProfRuns_Default implements iXHProfRuns {
return null; return null;
} }
$contents = file_get_contents($file_name, FILE_BINARY); $contents = file_get_contents($file_name);
$run_desc = "XHProf Run (Namespace=$type)"; $run_desc = "XHProf Run (Namespace=$type)";
return unserialize($contents); return unserialize($contents);
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter