Also fix the ifdef around include php_json.h, trivial typo. Conflicts: php_memcached.c
JSON API is available only in PHP 5.2.10+, so need compile-time checks for that. Also, had to refactor the way value types are stored in flags to allow for better structure and future expansion, but this necessitates clearing of the cache on upgrading to this version.
tests. This is clearly not a very good solution, and should be reverted soon.
Conflicts: memcached-api.php php_memcached.c tests/deleted.phpt tests/expire.phpt tests/multi_order.phpt tests/types.phpt
… array back in same order as the keys were requested. If the value is not found, a NULL is set for that key. Signed-off-by: Andrei Zmievski <firstname.lastname@example.org>
Ditto for IS_PERSISTENT.
* commit 'lenn0x/master': Added preserve_order (boolean) to getMulti. This will return an assoc array back in same order as the keys were requested. If the value is not found, a NULL is set for that key. Release 0.1.5. Fix bug #16084. Fix ZTS build. Remove unused function decls.
… array back in same order as the keys were requested. If the value is not found, a NULL is set for that key.
pristine. Objects are pristine if newly created and not if they are copied from the persistent list. Also added tests for this.
* 'master' of /lun4/home/phadej/dev/php-memcached-pub/: libmemcached may return NULL as a result if the length of the value is 0. Conflicts: php_memcached.c
…s 0. Make zval_from_payload defensive accept NULL as payload Fixed memcached-api.php to match get and get by key cast token parameter. Separated CAS tests, and new tests.