Page MenuHomeDevCentral

No OneTemporary

diff --git a/core.php b/core.php
index e69de29..11f48f0 100644
--- a/core.php
+++ b/core.php
@@ -0,0 +1,31 @@
+<?php
+
+namespace Keruald;
+
+/**
+ * Keruald, core libraries for Pluton and Xen engines.
+ *
+ * Global functions
+ */
+
+/**
+ * Prints human-readable information about a variable, wrapped in a <pre> block
+ *
+ * @param mixed $variable the variable to dump
+ */
+function dprint_r ($variable) {
+ echo '<pre>';
+ print_r($variable);
+ echo '</pre>';
+}
+
+/**
+ * Prints human-readable information about a variable, wrapped in a <pre> block
+ * then dies
+ *
+ * @param mixed $variable the variable to dump
+ */
+function dieprint_r ($variable) {
+ dprint_r($variable);
+ die;
+};

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jul 29, 14:00 (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2853015
Default Alt Text
(715 B)

Event Timeline