Commit 3bcbf0a
committed
Fix ZEND_BEGIN_ARG_INFO_EX for ibase_commit
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.
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 patch corrects this by setting the value to zero to match how the
method is implemented.1 parent 3cdd24f commit 3bcbf0a
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments