dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
098f276
)
Document wfVarDump()
author
Antoine Musso
<hashar@users.mediawiki.org>
Thu, 9 Oct 2008 21:11:10 +0000
(21:11 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Thu, 9 Oct 2008 21:11:10 +0000
(21:11 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
1bbf4b9
..
dad1a2c
100644
(file)
--- 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;