From d3e8ac41247fb278285704bd8bf819a5275e5aca Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sat, 16 Jun 2012 20:18:17 +0200 Subject: [PATCH] Implements pl_var_dump. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/platal.inc.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/platal.inc.php b/include/platal.inc.php index 6b28abb..f314932 100644 --- a/include/platal.inc.php +++ b/include/platal.inc.php @@ -285,5 +285,13 @@ function pl_cached_dynamic_content_headers($content_type, $encoding = null) pl_cached_content_headers($content_type, $encoding, $globals->dynamic_cache_duration); } +function pl_var_dump() +{ + echo '
';
+    $array = func_get_args();
+    call_user_func_array('var_dump', $array);
+    echo '
'; +} + // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?> -- 2.1.4