okitsu/php-zabbix-sender — pull request #6 by sashakcc (2014-07-10 07:59:04+00:00)
Title: Wrong message length in <DATALEN> section

Wrong binary operations with $json_length variable. That is why messages with length more than 2048 bytes can not be sent correctly. The response from server was just "OK".