]> granicus.if.org Git - php/commitdiff
teste basico da funcao timezone_version_get
authorRodrigo Wanderley de Melo Cardoso <rodrigogepem@gmail.com>
Sun, 28 Sep 2014 22:03:32 +0000 (19:03 -0300)
committerRogerio Prado de Jesus <rogeriopradoj@gmail.com>
Sun, 28 Sep 2014 22:03:32 +0000 (19:03 -0300)
ext/date/tests/timezone_version_get_basic1.phpt [new file with mode: 0644]

diff --git a/ext/date/tests/timezone_version_get_basic1.phpt b/ext/date/tests/timezone_version_get_basic1.phpt
new file mode 100644 (file)
index 0000000..27224e3
--- /dev/null
@@ -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