From d4f8ec56f59ddd2a79df1424c16fd32e437e8a34 Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Mon, 2 Oct 2017 18:47:36 +0800 Subject: [PATCH] Replace create_function() with lambda for PHP 7.2 --- xhprof_lib/utils/xhprof_runs.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xhprof_lib/utils/xhprof_runs.php b/xhprof_lib/utils/xhprof_runs.php index 2a22a5dc..115645bd 100644 --- a/xhprof_lib/utils/xhprof_runs.php +++ b/xhprof_lib/utils/xhprof_runs.php @@ -149,7 +149,9 @@ function list_runs() { if (is_dir($this->dir)) { echo "
Existing runs:\n