Skip to content

Commit 1330491

Browse files
committed
Merge branch 'pull-request/854' into PHP-5.5
* pull-request/854: teste basico da funcao timezone_version_get
2 parents 9d7206d + c0b83ba commit 1330491

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)