Skip to content

PHP8.1 segfaults on linting #83

@markvds

Description

@markvds

I don't know whether this happens on all platforms, but on my Fedora 37 host machine, PHP CLI segfaults when linting a file (part of our pre-commit hook) on the latest Hypernode Docker (PHP 8.1.12):

# php -v
PHP 8.1.12 (cli) (built: Oct 28 2022 17:32:24) (NTS)
[...]
# echo "<?php phpinfo();" | php -l
Segmentation fault (core dumped)

The problem arises only on PHP 8.1, only when linting (as far as I have seen) and only on the latest Hypernode Docker.

I hope this problem is over with a new PHP (patch) release, but it would also be nice to know if others experience the same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions