diff options
author | Michael Voříšek <mvorisek@mvorisek.cz> | 2020-02-12 12:24:54 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-17 11:11:14 +0100 |
commit | d2ba8485721144dbb235d183a82e34d8bb1720eb (patch) | |
tree | e19fae809cc75f8860bc4ae831f31e8186626557 /ext/reflection/php_reflection.c | |
parent | 53fc8ef41d89e99a8c8fc40a3b0deb501e915141 (diff) | |
download | php-git-d2ba8485721144dbb235d183a82e34d8bb1720eb.tar.gz |
Use strlen for INI_* macros
strlen() is resolved at compile time by optimizing compilers.
Prevent mistakes and allow to use INI_* macros with char * variables
which can have sizeof() == 1.
Closes GH-5174.
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions