diff options
author | Bo Yang <teboring@google.com> | 2017-12-14 13:24:00 -0800 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2017-12-14 13:24:00 -0800 |
commit | 8d6f13e86d62b47570810371a6c0528cfb10b781 (patch) | |
tree | a0a2620f6e0fcf53cb026892ca799b4b54a43d9f /php | |
parent | 39159c89f1e6924c1b12a6f12478b6de199894f4 (diff) | |
download | protobuf-8d6f13e86d62b47570810371a6c0528cfb10b781.tar.gz protobuf-8d6f13e86d62b47570810371a6c0528cfb10b781.tar.bz2 protobuf-8d6f13e86d62b47570810371a6c0528cfb10b781.zip |
Fix for php5.5
Diffstat (limited to 'php')
-rw-r--r-- | php/ext/google/protobuf/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/ext/google/protobuf/message.c b/php/ext/google/protobuf/message.c index 8b7d57ad..24472682 100644 --- a/php/ext/google/protobuf/message.c +++ b/php/ext/google/protobuf/message.c @@ -1131,7 +1131,7 @@ PHP_METHOD(Timestamp, fromDateTime) { } if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &datetime, - date_interface_ce) == FAILURE) { + PHP_PROTO_CE_UNREF(date_interface_ce)) == FAILURE) { zend_error(E_USER_ERROR, "Expect DatetimeInterface."); return; } |