Skip to content

Add AllowDynamicProperties on OCILob and OCICollection - #8844

Merged
adoy merged 1 commit into
php:masterfrom
adoy:bugfix/GH-8756-tmp
Jun 22, 2022
Merged

adoy merged 1 commit into
php:masterfrom
adoy:bugfix/GH-8756-tmp

Conversation

@adoy

@adoy adoy commented Jun 21, 2022

Copy link
Copy Markdown
Member

Fix GH-8756 : oci_new_descriptor() triggers dynamic property
deprecation.

This fix should be temporary. At some point we should either define
those properties or just hide them since they should probably not be
used.

Better fix is here : #8758 but
waiting feedback from Oracle team before going ahead.

@adoy
adoy requested a review from cmb69 June 21, 2022 21:57

@cmb69 cmb69 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Looks like a sensible stop-gap measure to me.

Comment thread ext/oci8/oci8.stub.php Resolved
Comment thread ext/oci8/oci8.stub.php Resolved
Fix phpGH-8756 : oci_new_descriptor() triggers dynamic property
deprecation.

This fix should be temporary. At some point we should either define
those properties or just hide them since they should probably not be
used.

Better fix is here : php#8758 but
waiting feedback from Oracle team before going ahead.
@adoy
adoy force-pushed the bugfix/GH-8756-tmp branch from 885aa14 to 6b6e5f3 Compare June 22, 2022 10:41
@adoy
adoy merged commit 6b6e5f3 into php:master Jun 22, 2022
@adoy
adoy deleted the bugfix/GH-8756-tmp branch June 22, 2022 10:49
@derrabus

Copy link
Copy Markdown
Contributor

Thank you @adoy!

@BigOHenry

Copy link
Copy Markdown

It doesn't work anymore. Error occurs again.

PHP Version 8.2.4
OCI8 Version 3.2.1
Oracle Run-time Client Library Version 21.1.0.0.0
Oracle Compile-time Instant Client Version 21.1

based on php:8.2.4-apache-bullseye

@adoy

adoy commented Apr 13, 2023

Copy link
Copy Markdown
Member Author

I'm a little bit busy those days but I'll have a look prior 8.2.6 (Too late for 8.2.5).

@BigOHenry

Copy link
Copy Markdown

Thank you very much!

@adoy

adoy commented Apr 23, 2023 •

Copy link
Copy Markdown
Member Author

@BigOHenry I moved the discussion to the original issue #8756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ext-oci8: oci_new_descriptor() triggers dynamic property deprecation

5 participants