diff options
| author | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:35:13 -0400 |
|---|---|---|
| committer | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:35:13 -0400 |
| commit | 0a36161e13484a99ccf69bb38f206462d27cc6d6 (patch) | |
| tree | d5107db4b7369603ac7c753829e8972ee74949f7 /ext/date/tests/bug35705.phpt | |
| parent | ce7edc9b3c7370f32fec0bc7a8ec3e29ed9a5f61 (diff) | |
| download | php-upstream/5.1.2.tar.gz | |
Imported Upstream version 5.1.2upstream/5.1.2
Diffstat (limited to 'ext/date/tests/bug35705.phpt')
| -rw-r--r-- | ext/date/tests/bug35705.phpt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/date/tests/bug35705.phpt b/ext/date/tests/bug35705.phpt new file mode 100644 index 000000000..6894160a4 --- /dev/null +++ b/ext/date/tests/bug35705.phpt @@ -0,0 +1,11 @@ +--TEST-- +Bug #35705 (strtotime() fails to parse soap date format without TZ) +--FILE-- +<?php +date_default_timezone_set("UTC"); + +echo date(DATE_ISO8601, strtotime('2000-10-10T10:12:30.000')) . "\n"; + +?> +--EXPECT-- +2000-10-10T10:12:30+0000 |
