diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-11-28 03:14:38 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-11-28 03:14:38 +0300 |
commit | 37cd6d23b6106f24b1fbaf8c0c898725ef4e6c58 (patch) | |
tree | d094eddfc800693b29bd086f4b2b224950276274 /test/php/date_time | |
parent | 2ef5011236b1088c2f8b460c2c13c07e9b727477 (diff) | |
download | unit-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.php | 4 |
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'); +?> |