alexandr-mironov / php8-smpp

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

enquireLink in Client class is not working properly #19

Open theobe opened 5 months ago

theobe commented 5 months 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.