summaryrefslogtreecommitdiffhomepage
path: root/test/php/date_time
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-11-28 03:14:38 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-11-28 03:14:38 +0300
commit37cd6d23b6106f24b1fbaf8c0c898725ef4e6c58 (patch)
treed094eddfc800693b29bd086f4b2b224950276274 /test/php/date_time
parent2ef5011236b1088c2f8b460c2c13c07e9b727477 (diff)
downloadunit-37cd6d23b6106f24b1fbaf8c0c898725ef4e6c58.tar.gz
unit-37cd6d23b6106f24b1fbaf8c0c898725ef4e6c58.tar.bz2
Tests: PHP directives "disable_classes" and "disable_functions".
Diffstat (limited to '')
-rw-r--r--test/php/date_time/index.php4
1 files changed, 4 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');
+?>