From:             zf at ancientrocklab dot com
Operating system: Linux
PHP version:      5.4.15
Package:          Date/time related
Bug Type:         Bug
Bug description:PHP must have the ability support nanoseconds

Description:
------------
PHP must have the ability support nanoseconds.
In today high traffic and high load website. We really need to support 
nanoseconds.
think about it, in per seconds, their maybe more than 1 million trades, if
you 
have not nonoseconds.
how can you know the real time it be?
We can now only using scripts like : 

echo passthru("date +%s.%N");

but this way is not native, so please add support it .
just like support microtime.

You guys may know Java has Nanoseconds function.
http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#nanoTime()

Java is ready for bussiness. but what about PHP?


Test script:
---------------
NO function can return nanoseconds native.

Expected result:
----------------
nanoseconds

Actual result:
--------------
no way to got it.

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

Reply via email to