When running a debug build of PHP, the engine verifies that the info supplied in the ZEND_BEGIN_ARG_INFO_EX macro is correct. The last parameter of the ZEND_BEGIN_ARG_INFO_EX macro is the number of required arguments.
For example, if we try to invoke ibase_commit with zero arguments, we get the following error message:
Fatal error: Arginfo / zpp mismatch during call of ibase_commit() in test.php on line 123
This PR fixes this problem for ibase_commit, ibase_commit_ret, ibase_rollback, and ibase_rollback_ret.
When running a debug build of PHP, the engine verifies that the info supplied in the
ZEND_BEGIN_ARG_INFO_EX
macro is correct. The last parameter of theZEND_BEGIN_ARG_INFO_EX
macro is the number of required arguments.For example, if we try to invoke
ibase_commit
with zero arguments, we get the following error message:This PR fixes this problem for
ibase_commit
,ibase_commit_ret
,ibase_rollback
, andibase_rollback_ret
.