alexandr-mironov / php8-smpp

SMPP Client (v 3.4) on PHP8
7 stars 8 forks source link

enquireLink in Client class is not working properly #19

Open theobe opened 1 month ago

theobe commented 1 month ago

It's allowed to pass null as pdyBody in function sendCommand. But when trying to send the message with sendPDU() it's failing, because it's trying to do a strlen on the null value. Since PHP8 is throwing an error, the function is failing.