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

Call opcache_reset PHP function directly #1401

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Girgias
Copy link

@Girgias Girgias commented Feb 20, 2025

Combined with #1398 this should allow the removal of frankenphp_execute_php_function

@AlliBalliBaba
Copy link
Collaborator

Cgo has a weird bug where it will sometimes throw a warning if you have a function without return value and parameters.

This will throw a warning:
void frankenphp_reset_opcache(void)

This will not:
int frankenphp_reset_opcache(void)

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