diff options
Diffstat (limited to 'functions/textual.php')
-rw-r--r-- | functions/textual.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/functions/textual.php b/functions/textual.php index b28a764..93a5838 100644 --- a/functions/textual.php +++ b/functions/textual.php @@ -14,6 +14,12 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. +function pre_dump($var) { + echo "<pre>"; + var_dump($var); + echo "<pre>"; +} + function startsWith($haystack, $needle) { // search backwards starting from haystack length characters from the end return $needle === "" || strrpos($haystack, $needle, -strlen($haystack)) !== FALSE; |