Skip to content

Update a few PHP 7 issues #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 1, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
No more ZEND_CTOR_MAKE_NULL
  • Loading branch information
rlerdorf committed Apr 23, 2015
commit 4187e2277fa7469b0b8a67045083dde1950cecc0
3 changes: 1 addition & 2 deletions php_memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,7 @@ static PHP_METHOD(Memcached, __construct)
zend_fcall_info fci = {0};
zend_fcall_info_cache fci_cache;

if (zend_parse_parameters(ZEND_NUM_ARGS(), "|S!f!S", &persistent_id, &fci, &fci_cache, &conn_str) == FAILURE) {
ZEND_CTOR_MAKE_NULL();
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "|S!f!S", &persistent_id, &fci, &fci_cache, &conn_str) == FAILURE) {
return;
}

Expand Down