Call the function a first time to start the chronometer. The next call to the function will return the number of milliseconds elapsed since the chronometer was started (rounded to three decimal places). The next call will start the chronometer again from where it finished. Multiple timers can be used by creating multiple $timer variables.
Using the ccHost error hanlder can be too strict when including third party libraries (like getID3) and interfacing with outside applications (like phpBB2). It might also cause conflict with other code that wants to set the error handler. Use the QuietErrors/RestoreErrors methods to wrap third party includes and calls.
Tags:
return:
true means error hanlder was already installed, false means no handler was installed