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

Add create_function as a disallowed function call #261

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

BackEndTea
Copy link
Contributor

I doubt this is still used much, since it was removed in PHP 8.0
But if its present you probably want to get rid of it

@spaze
Copy link
Owner

spaze commented Jul 17, 2024

Yeah, right, even the docs say

This function internally performs an eval() and as such has the same security issues as eval().

So yeah, that function should also be reported, thanks! Now I'm wondering if the rule for the function will ever be triggered but I'm not going to build a telemetry for that 😆

Can you please squash the two commits to one? :-)

I doubt this is still used much, since it was removed in PHP 8.0
@spaze spaze merged commit c687ba9 into spaze:main Jul 20, 2024
37 checks passed
@spaze
Copy link
Owner

spaze commented Jul 20, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants