Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10813724
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
715 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
rKGF Keruald global functions
Attached
Detach File
Event Timeline
Log In to Comment