|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-27 14:02 UTC] tony2001@php.net
[2005-11-29 00:49 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 04:00:01 2025 UTC |
Description: ------------ strtotime() used to accept dates with the format 'July 1, 2000 00:00:00 UTC', but now produces NULL or empty output. Reproduce code: --------------- <?php $gmt_time = strtotime('July 1, 2000 00:00:00 GMT'); $utc_time = strtotime('July 1, 2000 00:00:00 UTC'); echo "$gmt_time\n"; echo "$utc_time\n"; print_r($utc_time); ?> Expected result: ---------------- 962409600 962409600 962409600 Actual result: -------------- 962409600