workerman2是直接引用require /your/path/workerman-xxx/applications/XXX/Lib/Gateway.php 就可以直接調(diào)用了 在workerman3中沒找到呀。在workerman3中應(yīng)該怎么用
http://doc3.workerman.net/advanced/push.html
謝謝,不過我測(cè)試,出現(xiàn)錯(cuò)誤:Warning: Unexpected character in input: '\' (ASCII=92) state=1
這錯(cuò)誤是不是php版本低?
對(duì),版本低了,不支持命名空間