From c9336b759af5f21a8ff82a678bfa967168869bb6 Mon Sep 17 00:00:00 2001 From: Michael Thessel Date: Sat, 13 Apr 2013 15:57:44 +0000 Subject: [PATCH] Added snippet for to print wa variable to a file --- snippets/php.snippets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/php.snippets b/snippets/php.snippets index 793c2a5..5ca502d 100644 --- a/snippets/php.snippets +++ b/snippets/php.snippets @@ -343,6 +343,8 @@ snippet vd var_dump(${1}); snippet vdd var_dump(${1}); die(${2:}); +snippet vdf + error_log(print_r($${1:foo}, true), 3, '${2:/tmp/debug.log}');${3} snippet http_redirect header ("HTTP/1.1 301 Moved Permanently"); header ("Location: ".URL);