Skip to content

Commit 4187e22

Browse files
committed
No more ZEND_CTOR_MAKE_NULL
1 parent aa3bc57 commit 4187e22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: php_memcached.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,7 @@ static PHP_METHOD(Memcached, __construct)
407407
zend_fcall_info fci = {0};
408408
zend_fcall_info_cache fci_cache;
409409

410-
if (zend_parse_parameters(ZEND_NUM_ARGS(), "|S!f!S", &persistent_id, &fci, &fci_cache, &conn_str) == FAILURE) {
411-
ZEND_CTOR_MAKE_NULL();
410+
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "|S!f!S", &persistent_id, &fci, &fci_cache, &conn_str) == FAILURE) {
412411
return;
413412
}
414413

0 commit comments

Comments
 (0)