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
Array-style access of non-arrays in PHP 7.4 #207
Comments
Opened a PR to try to fix it. |
The fix is in #208. Yours will fail when |
Hi folks, do you have an idea when PHP 7.4 will be supported (when the fix for this will be merged to master and released)? Thanks! |
Hey everyone, looping back on this. We're still blocked on an update to PHP 7.4 on this issue. Any update on when this will be fixed? |
We are currently preparing for the next release within a month. Please stay tuned. |
@katmsft Please escalate this issue, thanks. |
We will be having quarterly releases starting from Aug. Please stay tuned. |
That sounds good, thank you. Looking forward to it! |
Thank you for the new release! |
Which service(blob, file, queue, table) does this issue concern?
azure-storage-common
Which version of the SDK was used?
1.4.1
What's the PHP/OS version?
PHP 7.4.1
What problem was encountered?
PHP 7.4 has forbidden array-style access of non-arrays:
And on PHP 7.4 I'm getting:
Full stacktrace (most files are from our app but I'm attaching it for the sake of completeness, also keep in mind we have notices converted to exceptions):
Steps to reproduce the issue?
Any Table Storage
batchAsync
call will probably fail. In plain PHP: https://3v4l.org/ZTlu5Have you found a mitigation/solution?
Yes,
$uri
should be checked if it's null first, I'll prepare a PR (#208).The text was updated successfully, but these errors were encountered: