1--TEST-- 2Bug #26317 (military timezone offset signedness) 3--INI-- 4date.timezone=GMT0 5--SKIPIF-- 6if (!@putenv("TZ=GMT0") || getenv("TZ") != 'GMT0') { 7 die("skip unable to change TZ environment variable\n"); 8} 9--FILE-- 10<?php 11 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 16:20:42 Z")); 12 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 09:20:42 T")); 13 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 19:20:42 C")); 14?> 15--EXPECT-- 162003-11-19 16:20:42 172003-11-19 16:20:42 182003-11-19 16:20:42 19