Re: [PHP] unexplainable - page generation time class

2005-03-06 Thread Ian Firla
I think the problem is how, when and where you're calling things. Basically, your code is fine. I modified it slightly and get the correct output. This could still be cleaned up and optimised significantly; however, I think you can take it from here: Your Class: cls_start_time = $microstart[0]

[PHP] unexplainable - page generation time class

2005-03-05 Thread James Williams
Howdy! I've made a class which simply determines the page generation time of a php script... After pretty much an hour of straight examining the code and trying tons of different things, no good has come of it, however I can't find an error... anywhere. class page_gen { // // PR