In the top of the first page that is requested, I make a global variable and store the value of microtime() in it.
The footer of the page is require()'d at the bottom, and in the separate footer page is a code that subtracts the current microtime() from said global variable, giving (what I thought to be) an accurate time elapse of page creation.
Usually the time is anywhere between 0.0-0.3 with some extra digits not shown. Sometimes though it will appear as -0.7 or -0.8, randomly.
Does this have anything to do with the page loading the footer first because of the require(), THEN subtracting the actual microtime()? Or is this just a bug?