I’m having a strange message when trying to do this:
$status = $client->append($key, $bin_name, $string_to_append, [Aerospike::OPT_TTL => $ttl]);
Fatal error: Undefined class constant ‘OPT_TTL’ in /path/MyClass.class.php on line 285
I don’t have any problem with other constants, just this one… I’m using the PHP client 3.4.10, and the constant is visibly defined in Aerospike’s files (I checked the aerospike_policy.h file to be sure, and it’s in there).
Thanks in advance.