php-nanotime
php-nanotime copied to clipboard
add support for file[c|m|a]time()
It would be really great if this could contain PHP functions to get the ctime
, atime
and mtime
of a file with nano second precision (if possible).
(http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html)
I know it's not part of the lib this extension wraps.
Good idea. Let me think about the score but generally it sounds feasible.
Care to submit a patch?
I'm not sure if this should be part of the base library first. Secondly I'm not a C developer so I think I don't have enough knowledge to implement it but I know PHP itself uses a POSIX standard < 2008 (I think it's 2001) so I don't know how to use it.