From:             will dot duncan dot nn at gmail dot com
Operating system: 
PHP version:      Irrelevant
Package:          Website problem
Bug Type:         Feature/Change Request
Bug description:Incredibly wrong and stupid note is highly ranked on `time()` 
docs

Description:
------------
https://www.php.net/manual/en/function.time.php#118876

The use is implying that UTC is affected by daylight saving, which is
obviously not true
https://en.wikipedia.org/wiki/Coordinated_Universal_Time

The user is implying that "not every day has 24 hours," however, for
UTC, which is used for the `time()` function, this is never the case.
Under "Mechanism" on the Wikipedia article, you can easily find the
following quote: "Each day contains 24 hours and each hour contains 60
minutes."

I am reporting this as this is the #2 most upvoted note for this page.
It is incredibly misleading and inaccurate. Notes like this one can
greatly damage new developers browsing the documentation, especially
when said note appears on the top.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=81319&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81319&r=fixed
Fixed in release:                 
https://bugs.php.net/fix.php?id=81319&r=alreadyfixed
Need backtrace:                   
https://bugs.php.net/fix.php?id=81319&r=needtrace
Need Reproduce Script:            
https://bugs.php.net/fix.php?id=81319&r=needscript
Try newer version:                
https://bugs.php.net/fix.php?id=81319&r=oldversion
Not developer issue:              
https://bugs.php.net/fix.php?id=81319&r=support
Expected behavior:                
https://bugs.php.net/fix.php?id=81319&r=notwrong
Not enough info:                  
https://bugs.php.net/fix.php?id=81319&r=notenoughinfo
Submitted twice:                  
https://bugs.php.net/fix.php?id=81319&r=submittedtwice
register_globals:                 
https://bugs.php.net/fix.php?id=81319&r=globals
PHP version support discontinued: 
https://bugs.php.net/fix.php?id=81319&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81319&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81319&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81319&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81319&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81319&r=nozend
MySQL Configuration Error:        
https://bugs.php.net/fix.php?id=81319&r=mysqlcfg

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to