概要:
为了让别人以为你discuz网站的注册用户比较多,你可能需要注册大量虚假用户来伪造discuz网站的人气,如果手动地注册,那效率肯定会很低,势必需要一个工具来帮我们自动化地完成这个工作,本人就用ruby写了这样一个自动为discuz注册用户的工具.
Do not throw exception in exception_handler function and __destruct without try-catch
Do NOT throw exception in exception_handler function, if you do it like below, the error “Fatal error: Exception thrown without a stack frame in Unknown on line 0” will occur set_exception_handler(‘handle_exception’); function handle_exception($e) { throw new Exception(‘throwed in handle_exception’); } throw new Exception(‘error occur’); if you try-catch the Exception in exception_handler function, it will be … Read more