Closed flip111 closed 2 years ago
PRs with a fixes are welcome.
--- a/xhprof_lib/utils/xhprof_lib.php
+++ b/xhprof_lib/utils/xhprof_lib.php
@@ -686,7 +686,7 @@ function xhprof_get_string_param($param, $default = '') {
if ($val === null)
return $default;
- if (get_magic_quotes_gpc() == 1) {
+ if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc() == 1) {
return stripslashes($val);
}
Fixed now. Thanks @kamilwalas and @flip111 .
callgraph can not be displayed -- browser says it gives an error. no error found in
xh_dot.err
I don't advise anyone to use this package in it's current state for php 7.4.4