Skip to content

PHP 8.4 php_strtolower warnings #689

@lukaszmarcola

Description

@lukaszmarcola

Hello,
since php84 rc1 some functions like php_strtolower was removed and they suggest to use zend_str_tolower:
php/php-src@85e6688#diff-8792658491c2da2691aa3492fee6304154346d593fa1d787ebb897d0467d58efR379

During compilation, I get:

/home/build/rpmbuild/BUILD/imagick-3.7.0/imagick.c: In function 'php_imagick_read_property':
/home/build/rpmbuild/BUILD/imagick-3.7.0/imagick.c:606:7: warning: implicit declaration of function 'php_strtolower'; did you mean 'php_strtok_r'? [-Wimplicit-function-declaration]
       php_strtolower(Z_STRVAL_P(retval), Z_STRLEN_P(retval));
       ^~~~~~~~~~~~~~
       php_strtok_r

An update of these functions is probably required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions