diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-21 10:08:29 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-21 10:08:29 +0100 |
commit | 621b1f0312a559bce667ccf4be0a346a56e368a2 (patch) | |
tree | 64ad2127f09fbc93741deafc91d1f321dec9dcd6 /ext/reflection/php_reflection.c | |
parent | 6311581ac64372164de7ba24f086eb3b0b91eabb (diff) | |
download | php-git-621b1f0312a559bce667ccf4be0a346a56e368a2.tar.gz |
Cleanup add_offset_pair API
Accept the two offsets directly, rather than doing length calculations
at all callsites. Also extract the logic to create a possibly interned
string.
Switch the split implementation to work on a char* subject internally,
because ZSTR_VAL(subject_str) is a mouthful...
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions