Skip to content

[bug]: incompatible with php 8.3.0 #747

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

Closed
puggan opened this issue Jan 30, 2025 · 1 comment · Fixed by algolia/api-clients-automation#4416
Closed

[bug]: incompatible with php 8.3.0 #747

puggan opened this issue Jan 30, 2025 · 1 comment · Fixed by algolia/api-clients-automation#4416

Comments

@puggan
Copy link

puggan commented Jan 30, 2025

Description

There is a bug in php 8.3.0, when you send in null as 3th parameter to http_build_query
https://3v4l.org/nHIkP

so if you try to search for ['index'=> a, 'limit' => 5] you get index=alimit=5 instead of index=a&limit=5

Sugestion A: flag package as incompatible with php 8.3.0

Sugestion B: update the call so it dosn't send null to http_build_query

Client

Analytics

Version

4.11.2

Relevant log output

@millotp
Copy link
Contributor

millotp commented Jan 30, 2025

Hello, thats a interesting bug, thanks for the heads up, this will be fixed in the next release ! algolia/api-clients-automation#4416

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 a pull request may close this issue.

2 participants