php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49581 on Mac OS 10.5.8 'Y' returns 0000
Submitted: 2009-09-17 22:15 UTC Modified: 2009-09-17 23:26 UTC
From: dg dot oppenheimer at gmail dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 5.2.10 OS: Mac OS 10.5.8 on PPC G5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dg dot oppenheimer at gmail dot com
New email:
PHP Version: OS:

 

 [2009-09-17 22:15 UTC] dg dot oppenheimer at gmail dot com
Description:
------------
Essentially the same as bug report #48276. I had this problem with OS 10.5.7 but it was fixed when I used the most recent CVS snapshot of php 5.2.10 for PPC (build date: Aug 24 2009 12:44:03). It re-appeared when I upgraded to Mac OS 10.5.8. 


Reproduce code:
---------------
<?php 
echo date("Y/m/d"); 
?>


Expected result:
----------------
2009/09/17

Actual result:
--------------
0000/09/17

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-17 23:26 UTC] scottmac@php.net
Duplicate of bug #48276 its fixed in the SVN snapshot and 5.2.11 which will go out tonight / tomorrow.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 14:01:31 2025 UTC