I know its not officially supported, but I can't even seem to get the "USE mykeyspace;" command to work. Or any other query if I skip the use command.
$pool = new ConnectionPool('mykeyspace', array('ips.here'));
$raw = $pool->get();
$raw->client->set_cql_version('3.0.0');
$raw->client->execute_cql3_query('USE mykeyspace;', Compression::NONE, ConsistencyLevel::ONE);
Fatal error: Uncaught exception 'cassandra\InvalidRequestException' in /usr/local/nginx/html/stats/phpcassa/cassandra/Cassandra.php:2094 Stack trace: #0 /usr/local/nginx/html/stats/phpcassa/cassandra/Cassandra.php(2094): thrift_protocol_read_binary(Object(Thrift\Protocol\TBinaryProtocolAccelerated), '\cassandra\Cass...', false) #1 /usr/local/nginx/html/stats/phpcassa/cassandra/Cassandra.php(2070): cassandra\CassandraClient->recv_execute_cql3_query() #2 /usr/local/nginx/html/stats/reporting/dunnhumby_file_status.php(41): cassandra\CassandraClient->execute_cql3_query('USE FteData;', 2, 1) #3 /usr/local/nginx/html/stats/reporting/index.php(25): include('/usr/local/ngin...') #4 {main} thrown in/usr/local/nginx/html/stats/phpcassa/cassandra/Cassandra.php on line 2094