mirror of
https://github.com/php/php-src.git
synced 2024-10-07 01:36:14 +00:00
14 lines
308 B
Plaintext
14 lines
308 B
Plaintext
|
--TEST--
|
||
|
Bug #33578 (strtotime() doesn't parse "11 Oct" format")
|
||
|
--FILE--
|
||
|
<?php
|
||
|
date_default_timezone_set("UTC");
|
||
|
echo date('m/d/Y', strtotime('Oct 11')), "\n";
|
||
|
echo date('m/d/Y', strtotime('11 Oct')), "\n";
|
||
|
echo date('m/d/Y', strtotime('11 Oct 2005')), "\n";
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
10/11/%d
|
||
|
10/11/%d
|
||
|
10/11/2005
|