Repository navigation
Commit 6f8cb61
Match a named argument for a negative position in the native getArgByPositionOrName()
The PHP method still finds an argument passed by name when the position is
negative; the C++ mirror returned null early. Comparing the hash key as
zend_ulong keeps exact parity with $i === $position.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 6523bc8 commit 6f8cb61
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
884 | | - | |
| 884 | + | |
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
| |||
0 commit comments