Add explicit return checks.
Add explicit return checks.

Basically a manual merge of https://github.com/igbinary/igbinary/pull/16
before alocator changes.

phadej/igbinary,phadej/igbinary,Sean-Der/igbinary,ZeusbaseWeb/igbinary,Jan-E/igbinary,nimishzynga/php-igbinary,yiliaofan/igbinary,nimishzynga/php-igbinary,Sean-Der/igbinary,Jan-E/igbinary,Sean-Der/igbinary,nimishzynga/php-igbinary,nimishzynga/php-igbinary,phadej/igbinary,igbinary/igbinary7,igbinary/igbinary7,igbinary/igbinary7,yiliaofan/igbinary,ZeusbaseWeb/igbinary,ZeusbaseWeb/igbinary,igbinary/igbinary7,Jan-E/igbinary,yiliaofan/igbinary,Jan-E/igbinary,igbinary/igbinary7,Jan-E/igbinary