We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d7206d + c0b83ba commit 1330491Copy full SHA for 1330491
ext/date/tests/timezone_version_get_basic1.phpt
@@ -0,0 +1,12 @@
1
+--TEST--
2
+timezone_version_get: Test that timezone_location_get returns a date concatenated with a dot and a version number
3
+--CREDITS--
4
+Rodrigo Wanderley de Melo Cardoso <rodrigogepem@gmail.com>
5
+#PHPTestFest2014 São Paulo 2014-07-05
6
+--INI--
7
+date.timezone=UTC
8
+--FILE--
9
+<?php $versionTimezone = timezone_version_get();
10
+echo $versionTimezone; ?>
11
+--EXPECTREGEX--
12
+^[12][0-9]{3}.[0-9]+$
0 commit comments