Skip to content

php 8.4 compile error - php_strtolower not declared #540

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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