summaryrefslogtreecommitdiff
path: root/tests/run.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.php')
-rw-r--r--tests/run.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/run.php b/tests/run.php
new file mode 100644
index 0000000000..a6792b5af7
--- /dev/null
+++ b/tests/run.php
@@ -0,0 +1,17 @@
+<?
+if (!isset($code)) {
+ exit("No code submitted.");
+}
+?>
+<html>
+<body>
+Executing:<br>
+<?
+highlight_string("<?php \n$code\n?>");
+?>
+<hr width="40%">
+<?
+eval($code);
+?>
+</body>
+</html> \ No newline at end of file