Commit 91e6f26
authored
Add sanitity checks regarding num_args and arg_info (phpGH-16538)
`num_args > 0` implies that `arg_info != NULL`. We explicitly assert
that during compilation and execution to make it easier for developers
to not miss this[1].
[1] <php#16266>1 parent c40e6be commit 91e6f26
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3709 | 3709 | | |
3710 | 3710 | | |
3711 | 3711 | | |
| 3712 | + | |
3712 | 3713 | | |
3713 | 3714 | | |
3714 | 3715 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5304 | 5304 | | |
5305 | 5305 | | |
5306 | 5306 | | |
| 5307 | + | |
5307 | 5308 | | |
5308 | 5309 | | |
5309 | 5310 | | |
| |||
0 commit comments