diff --git a/interbase.c b/interbase.c index d924163..8566fc7 100644 --- a/interbase.c +++ b/interbase.c @@ -93,19 +93,19 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_trans, 0, 0, 0) ZEND_ARG_INFO(0, link_identifier) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_commit, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_commit, 0, 0, 0) ZEND_ARG_INFO(0, link_identifier) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_rollback, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_rollback, 0, 0, 0) ZEND_ARG_INFO(0, link_identifier) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_commit_ret, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_commit_ret, 0, 0, 0) ZEND_ARG_INFO(0, link_identifier) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_rollback_ret, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_ibase_rollback_ret, 0, 0, 0) ZEND_ARG_INFO(0, link_identifier) ZEND_END_ARG_INFO() diff --git a/tests/ibase_commit_001.phpt b/tests/ibase_commit_001.phpt new file mode 100644 index 0000000..8426ee8 --- /dev/null +++ b/tests/ibase_commit_001.phpt @@ -0,0 +1,18 @@ +--TEST-- +ibase_commit(): Make sure the method can be invoked with zero arguments +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +bool(true) diff --git a/tests/ibase_commit_ret_001.phpt b/tests/ibase_commit_ret_001.phpt new file mode 100644 index 0000000..21ba605 --- /dev/null +++ b/tests/ibase_commit_ret_001.phpt @@ -0,0 +1,18 @@ +--TEST-- +ibase_commit_ret(): Make sure the method can be invoked with zero arguments +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +bool(true) diff --git a/tests/ibase_rollback_002.phpt b/tests/ibase_rollback_002.phpt new file mode 100644 index 0000000..8783e81 --- /dev/null +++ b/tests/ibase_rollback_002.phpt @@ -0,0 +1,18 @@ +--TEST-- +ibase_rollback(): Make sure the method can be invoked with zero arguments +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +bool(true) diff --git a/tests/ibase_rollback_ret_001.phpt b/tests/ibase_rollback_ret_001.phpt new file mode 100644 index 0000000..7065519 --- /dev/null +++ b/tests/ibase_rollback_ret_001.phpt @@ -0,0 +1,18 @@ +--TEST-- +ibase_rollback_ret(): Make sure the method can be invoked with zero arguments +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +bool(true)