Merge pull request #420 from ethervoid/printr_snippet

Added print_r snippet in php
This commit is contained in:
Honza Pokorny 2014-08-14 03:43:52 -03:00
commit d6d27d5ef1

View File

@ -347,6 +347,10 @@ snippet vd
var_dump(${0}); var_dump(${0});
snippet vdd snippet vdd
var_dump(${1}); die(${0:}); var_dump(${1}); die(${0:});
snippet pr
print_r(${0});
snippet prs
print_r(${0}, 1);
snippet vdf snippet vdf
error_log(print_r($${1:foo}, true), 3, '${2:/tmp/debug.log}'); error_log(print_r($${1:foo}, true), 3, '${2:/tmp/debug.log}');
snippet http_redirect snippet http_redirect