Event::setTimer » « Event::set PHP 手册 函数参考 其它服务 Event Event Event::setPriority (PECL event >= 1.2.6-beta)Event::setPriority — Set event priority 说明 public Event::setPriority( int $priority ): bool Set event priority. 参数 priority The event priority. 返回值 成功时返回 true, 或者在失败时返回 false。 发现了问题? 了解如何改进此页面 • 提交拉取请求 • 报告一个错误 +添加备注 用户贡献的备注 1 note up down 0 Igor K ¶4 years ago $priority argument should be declared as float, because function expects float value in range between 0 and 1. Otherwise you get "Unable to set event priority" error. +添加备注 备份地址:http://www.lvesu.com/blog/php/event.setpriority.php