evseevnn-zz / php-cassandra-binary

PHP library for Cassandra database via a binary protocol.
http://evseevnn.github.io/php-cassandra-binary/
MIT License
69 stars 33 forks source link

Diferentiate null or empty value #38

Open gilacost opened 10 years ago

gilacost commented 10 years ago

The method readbytes is not capable to diferentiate if the readed value is null or an empty string captura de pantalla 2014-10-27 a les 15 49 49 substr returning false on both cases: captura de pantalla 2014-10-27 a les 15 57 18

LarsFronius commented 10 years ago

Can you validate if the latest version of https://github.com/eyeem/php-cassandra-binary works for you? I think we fixed it there. Also it is right now an issue to write null values. I am preparing a 0.3.0 release at the moment to allow that.