summaryrefslogtreecommitdiff
path: root/ext/date/tests/timezone_version_get.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/timezone_version_get.phpt')
-rw-r--r--ext/date/tests/timezone_version_get.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/date/tests/timezone_version_get.phpt b/ext/date/tests/timezone_version_get.phpt
new file mode 100644
index 0000000000..e076004289
--- /dev/null
+++ b/ext/date/tests/timezone_version_get.phpt
@@ -0,0 +1,13 @@
+--TEST--
+Test the basics to function timezone_version_get().
+--CREDITS--
+Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
+--INI--
+date.timezone = UTC;
+date_default_timezone_set("America/Sao_Paulo");
+--FILE--
+<?php
+var_dump(timezone_version_get());
+?>
+--EXPECTREGEX--
+string\([6-7]\) \"20[0-9][0-9]\.[1-9][0-9]?\" \ No newline at end of file