onlinecity / php-smpp

PHP 5 based SMPP client library
232 stars 161 forks source link

warning in force ipv4 mode #75

Open kasparrov opened 6 years ago

kasparrov commented 6 years ago

SocketTransport::$forceIpv4 = true;

https://github.com/onlinecity/php-smpp/blob/b8632357b4bf48668aa461d9004c70be9c99de9e/sockettransport.class.php#L252

PHP error: Undefined variable: socket6 in /var/www/myapi.beltelecom.by/vendor/php-smpp/php-smpp/sockettransport.class.php on line 252 PHP warning: socket_close() expects parameter 1 to be resource, null given in /var/www/myapi.beltelecom.by/vendor/php-smpp/php-smpp/sockettransport.class.php on line 252