Skip to content

Commit 214c234

Browse files
committed
Improve print
1 parent ac6db37 commit 214c234

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

snippets/other.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"scope": "php",
44
"prefix": "user",
55
"body": [
6-
"if (\\$GLOBALS[\"USER\"]->IsAdmin()) {echo \"<pre>\";print_r(${1:\\$arResult});echo \"</pre>\";}"
6+
"if (\\$GLOBALS[\"USER\"]->IsAdmin()) {echo \"<pre>\";print_r(${1:\\$arResult});echo \"</pre>\";}",
7+
"$0"
78
],
89
"description": "Принт переменной только для админа."
910
}

0 commit comments

Comments
 (0)