We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 181d9be + 428dffe commit ca6d5acCopy full SHA for ca6d5ac
ext/src/Cassandra/Timestamp.c
@@ -113,7 +113,8 @@ PHP_METHOD(Timestamp, microtime)
113
PHP_METHOD(Timestamp, toDateTime)
114
{
115
cassandra_timestamp *self;
116
- zval *datetime = NULL;
+ zval datetime_object;
117
+ zval *datetime = &datetime_object;
118
php_date_obj *datetime_obj = NULL;
119
char *str;
120
int str_len;
ext/src/Cassandra/Timeuuid.c
@@ -110,7 +110,8 @@ PHP_METHOD(Timeuuid, time)
110
PHP_METHOD(Timeuuid, toDateTime)
111
112
cassandra_uuid *self;
0 commit comments