bluerhinos / phpMQTT

a simple php class to connect/publish/subscribe to a MQTT broker
Other
765 stars 461 forks source link

function broker() #128

Open wangdicnyz opened 2 years ago

wangdicnyz commented 2 years ago

public function broker($address, $port, $clientid, $cafile = null): void{

}

php 7.0 no working please tell me php number

anhlephuoc commented 2 years ago

php 7.3 or later should be OK. If you can't upgrade php then just remove the :void, but that would only defer the problem to return and haunt you at a future date.