added testing PHP 7.1

This commit is contained in:
Fabien Potencier
2016-11-10 10:39:10 -08:00
parent 1c99469bcc
commit 56e09fb7d3
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -14,6 +14,7 @@ php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
env:
@@ -34,6 +35,7 @@ matrix:
exclude:
- php: hhvm
env: TWIG_EXT=yes
allow_failures:
- php: 7.0
env: TWIG_EXT=yes
- php: 7.1
env: TWIG_EXT=yes
+1 -1
View File
@@ -1,7 +1,7 @@
--TEST--
"date" function
--TEMPLATE--
{{ date() == date('now') ? 'OK' : 'KO' }}
{{ date().format('r') == date('now').format('r') ? 'OK' : 'KO' }}
{{ date(date1) == date('2010-10-04 13:45') ? 'OK' : 'KO' }}
{{ date(date2) == date('2010-10-04 13:45') ? 'OK' : 'KO' }}
{{ date(date3) == date('2010-10-04 13:45') ? 'OK' : 'KO' }}