com php-src: teste basico da funcao timezone_version_get: ext/date/tests/timezone_version_get_basic1.phpt

From: Date: Sun, 28 Sep 2014 22:03:32 +0000
Subject: com php-src: teste basico da funcao timezone_version_get: ext/date/tests/timezone_version_get_basic1.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83283@lists.php.net to get a copy of this message
Commit: c0b83ba2be76bcc51c97549bf5328a9c8e97a748 Author: Rodrigo Wanderley de Melo Cardoso <rodrigogepem@gmail.com> Sun, 28 Sep 2014 19:03:32 -0300 Committer: Rogerio Prado de Jesus <rogeriopradoj@gmail.com> Sun, 28 Sep 2014 19:03:32 -0300 Parents: ef39f4044590c15c0d2d5437fc8ff147ff6156ad Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c0b83ba2be76bcc51c97549bf5328a9c8e97a748 Log: teste basico da funcao timezone_version_get Changed paths: A ext/date/tests/timezone_version_get_basic1.phpt Diff: 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 0000000..27224e3 --- /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

« previous php.cvs (#83283) next »