summaryrefslogtreecommitdiffhomepage
path: root/test/php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/php/date_time/index.php4
-rw-r--r--test/php/highlight_file_exec/index.php4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/php/date_time/index.php b/test/php/date_time/index.php
new file mode 100644
index 00000000..4e06fdf9
--- /dev/null
+++ b/test/php/date_time/index.php
@@ -0,0 +1,4 @@
+<?php
+$d = new DateTime('2011-01-01T15:03:01.012345Z');
+echo $d->format('u');
+?>
diff --git a/test/php/highlight_file_exec/index.php b/test/php/highlight_file_exec/index.php
new file mode 100644
index 00000000..adcd5ed8
--- /dev/null
+++ b/test/php/highlight_file_exec/index.php
@@ -0,0 +1,4 @@
+<?php
+highlight_file('index.php');
+exec('pwd');
+?>