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 before flag to #[php_startup] #170

Merged
merged 2 commits into from
Nov 10, 2022
Merged

add before flag to #[php_startup] #170

merged 2 commits into from
Nov 10, 2022

Conversation

davidcole1340
Copy link
Owner

this calls the user-provided startup function before the classes and constants registered by the macro system are registered with PHP. by default the behaviour is to run this function after, which means you cannot define an interface and use it on a struct.

this calls the user-provided startup function _before_ the classes and
constants registered by the macro system are registered with PHP. by
default the behaviour is to run this function after, which means you
cannot define an interface and use it on a struct.
@davidcole1340 davidcole1340 merged commit 5f33598 into master Nov 10, 2022
@davidcole1340 davidcole1340 deleted the before branch November 10, 2022 00:51
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.

1 participant