summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Wanderley de Melo Cardoso <rodrigogepem@gmail.com>2014-09-28 19:03:32 -0300
committerRogerio Prado de Jesus <rogeriopradoj@gmail.com>2014-09-28 19:03:32 -0300
commitc0b83ba2be76bcc51c97549bf5328a9c8e97a748 (patch)
tree7901592bbfa2052bf99c8e8deb222899816bdc6d
parentef39f4044590c15c0d2d5437fc8ff147ff6156ad (diff)
downloadphp-git-c0b83ba2be76bcc51c97549bf5328a9c8e97a748.tar.gz
teste basico da funcao timezone_version_get
-rw-r--r--ext/date/tests/timezone_version_get_basic1.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/date/tests/timezone_version_get_basic1.phpt b/ext/date/tests/timezone_version_get_basic1.phpt
new file mode 100644
index 0000000000..27224e3d44
--- /dev/null
+++ b/ext/date/tests/timezone_version_get_basic1.phpt
@@ -0,0 +1,12 @@
+--TEST--
+timezone_version_get: Test that timezone_location_get returns a date concatenated with a dot and a version number
+--CREDITS--
+Rodrigo Wanderley de Melo Cardoso <rodrigogepem@gmail.com>
+#PHPTestFest2014 São Paulo 2014-07-05
+--INI--
+date.timezone=UTC
+--FILE--
+<?php $versionTimezone = timezone_version_get();
+echo $versionTimezone; ?>
+--EXPECTREGEX--
+^[12][0-9]{3}.[0-9]+$ \ No newline at end of file