1--TEST-- 2Bug GH-10218 (DateTimeZone fails to parse time zones that contain the "+" character) 3--FILE-- 4<?php 5var_dump(new DateTime('now', new DateTimeZone('Etc/GMT+1'))); 6?> 7--EXPECTF-- 8object(DateTime)#%d (%d) { 9 ["date"]=> 10 string(%d) "%s" 11 ["timezone_type"]=> 12 int(3) 13 ["timezone"]=> 14 string(9) "Etc/GMT+1" 15} 16