phpcassaを使用してDateTypeをcassandraデータベースに保存しようとしています。
これが私がすることです:
$date = new DateTime();
$column_family_commentByPost = new ColumnFamily($pool, 'commentByPost');
$column_family_commentByPost->insert($my_uuid_string1, array($date->getTimestamp() => $my_uuid_string2));
$array = $column_family_commentByPost->get($my_uuid_string1);
var_dump($array);
次のエラーが発生します。
注意:unserialize():20行目のC:...\DateType.phpの10バイトのオフセット0でエラーが発生しました
PHPを使用してDateTypeを保存する正しい方法は何ですか?