From: Antoine Musso Date: Thu, 9 Oct 2008 21:11:10 +0000 (+0000) Subject: Document wfVarDump() X-Git-Tag: 1.31.0-rc.0~44826 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=45081512a17796cf6d3afc2c19c253f317989f8b;p=lhc%2Fweb%2Fwiklou.git Document wfVarDump() --- 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;