Revert "Revert "Check return value""
Revert "Revert "Check return value""

This reverts commit 5352b3744a335f7a41c02cc64557628e6c2c6a0c.

OSTC/php-sdk-binary-tools,OSTC/php-sdk-binary-tools,OSTC/php-sdk-binary-tools