Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP8.1 The Attribute syntax support #865

Open
exploitfate opened this issue Mar 20, 2024 · 2 comments
Open

PHP8.1 The Attribute syntax support #865

exploitfate opened this issue Mar 20, 2024 · 2 comments
Labels
bug Something isn't working more info requested

Comments

@exploitfate
Copy link

exploitfate commented Mar 20, 2024

Description

I've got Segmentation fault (core dumped) with PHP 8 Attributes

Steps to Reproduce

#[Route('/', name: 'health_check_index', methods: ['GET'])]

Your Environment

Ubuntu 22.04
PHP8.1
newrelic-php5 10.19.0.9

@exploitfate exploitfate added the bug Something isn't working label Mar 20, 2024
@newrelic-php-agent-bot
Copy link

Hi @exploitfate! Thank you for bringing this to the team’s attention. Could you contact New Relic support by following these steps. This way we will be able to gather additional details about the issue at hand. If your subscription level does not include technical support support plan, the other option available to customers with free plans is to use New Relic’s community support channel: Explorers Hub. For all available options on how to get support, please see these resources.

@ZNeumann
Copy link
Contributor

I am able to reproduce this issue both with and without the New Relic PHP Agent, by simply registering with PHP's Observer API (which our agent has used since v10.18). This means that it is likely an issue with PHP, not the agent. The good news is that I have been unable to reproduce with PHP 8.2. Can you try upgrading and see if the problem persists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working more info requested
Projects
None yet
Development

No branches or pull requests

4 participants