Basic timer package for PHP