From 45081512a17796cf6d3afc2c19c253f317989f8b Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Thu, 9 Oct 2008 21:11:10 +0000 Subject: [PATCH] Document wfVarDump() --- includes/GlobalFunctions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 1bbf4b9976..dad1a2ce4d 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1387,7 +1387,10 @@ function wfDiff( $before, $after, $params = '-u' ) { } /** - * @todo document + * A wrapper around the PHP function var_export(). + * Either print it or add it to the regular output ($wgOut). + * + * @param $var A PHP variable to dump. */ function wfVarDump( $var ) { global $wgOut; -- 2.20.1