I'm not sure what exactly does the obtained result represent. On my test run, I received 553357183 but not sure if it's in milliseconds or nanoseconds.
PS: I've run this on MacOS running php7.3 and I need the number on my Live server that runs uBuntu 18 with php 7.3.
Returns an array of integers in the form [seconds, nanoseconds], if the parameter get_as_number is false. Otherwise the nanoseconds are returned as integer (64bit platforms) or float (32bit platforms).
If you pass true, then it returns only nanoseconds
If you want it in seconds, why pass true and only get ns? If you don't, it returns an array with the first number being seconds and the second number being ns
@cronix - I got confused with the [seconds,nanoseconds] part. If I don't pass true, do I only get the nanoseconds part or the combined value of seconds + nanoseconds?
That is, if my total time of execution is more than one second; will the returned number (with true) represent total number of nanoseconds since I started the counter OR only the nanoseconds passed AFTER the initial full second?