Closed cenchy closed 5 years ago
连续new 两个对象会报错 for($i=0;$i<2;$i++){ $mqtt = new Workerman\Mqtt\Client(...) }
PHP Warning: Cannot declare class \Workerman\Protocols\Mqtt, because the name is already in use in
连续new 两个对象会报错 for($i=0;$i<2;$i++){ $mqtt = new Workerman\Mqtt\Client(...) }
PHP Warning: Cannot declare class \Workerman\Protocols\Mqtt, because the name is already in use in