-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Deprecate oci8.old_oci_close_semantics #7258
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
Conversation
I will make time this week to run tests; I'm happy to tidy up after you merge, if you want to make headway before I get to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As feature freeze is already tomorrow, let's go with the merge now and potential test fixup later.
Curious: how do you avoid the deprecation warning? I tried it with with the Windows PHP 8.1.0 beta1 binaries at https://windows.php.net/qa/ and could not find a way. |
@Jan-E Yeah, that's an implementation bug. |
OK. I suppose that will be fixed in beta 2? |
Yes. I've just pushed the suggested change to fix this issue: 87c181a |
OK, I will apply the patch for my own builds of PHP 8.1.0 beta1 (for Windows) to see if it works. |
Thanks! Testing is highly appreciated :) |
Works. This is a phpinfo() dump of the patched PHP 8.1.0 beta1 with a lot of extensions: |
Confirmed to be working for all 4 variants of the Windows build (x64/x86, TS/NTS). See https://www.apachelounge.com/viewtopic.php?t=6617 for the phpinfo dumps and the complete packages. |
> The `oci8.old_oci_close_semantics` INI directive is deprecated. Includes unit tests. Refs: * https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.oci8 * https://wiki.php.net/rfc/deprecations_php_8_1#oci8old_oci_close_semantics_ini_setting * php/php-src#7258 * php/php-src@e120d52
Updated the tests blindly...