Skip to content

php 8.4 compile error - php_strtolower not declared #540

@rbro

Description

@rbro

When compiling v8js against PHP 8.4.0RC3, I got the below error:

/tmp/v8js/v8js_object_export.cc:678:9: error: ‘php_strtolower’ was not declared in this scope; did you mean ‘php_strtok_r’?

I found the below change in PHP:

php/php-src@85e6688

Also, I found this reference:

Imagick/imagick#690

I tried a quick test and changing v8js_object_export.cc to call zend_str_tolower instead of php_strtolower seems to work.

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions