noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 32/34: DEV - TEST : new file to see local var


From: dwm
Subject: [Noalyss-commit] [noalyss] 32/34: DEV - TEST : new file to see local variables
Date: Wed, 17 Jan 2024 12:54:09 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit b698a8a584cbe254a78ceba0dce0fa7dedc1265c
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Tue Jan 16 14:28:33 2024 +0100

    DEV - TEST : new file to see local variables
---
 include/template/show-all-variable.php | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/template/show-all-variable.php 
b/include/template/show-all-variable.php
new file mode 100644
index 000000000..545151ea7
--- /dev/null
+++ b/include/template/show-all-variable.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * @file
+ * @brief to be included , show all the variables, only for development 
purpopse
+ *
+ */
+
+if (DEBUGNOALYSS <= 1 ) return;
+
+$variable = get_defined_vars();
+
+echo \Noalyss\Dbg::hidden_info("All variables", $variable);
\ No newline at end of file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]