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

Run tests with alternative configuration options in CI? (e.g. --disable-apcu-mmap, protected memory) #458

Open
TysonAndre opened this issue Nov 1, 2022 · 0 comments

Comments

@TysonAndre
Copy link
Contributor

Don't test the entire matrix. Maybe just the oldest and newest supported php versions.

Related to #457 - maybe disable serializer=default when apcu is compiled with read only support. Alternately, compute the pointer addresses to use with read only memory when writing to writable memory.

  • This may be of some help when debugging and ensuring that apcu's assumptions about when memory is written (e.g. by php-src) are true.
  • The benefit of testing protected memory seems negligible for what might be caught, since apcu currently always returns copies of reference counted values such as strings/arrays/references and unserializes data
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

No branches or pull requests

1 participant