rfc:resource_to_object_conversion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:resource_to_object_conversion [2023/12/24 13:23] – kocsismate | rfc:resource_to_object_conversion [2024/05/24 12:11] (current) – kocsismate | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Resource to object conversion ====== | ====== Resource to object conversion ====== | ||
* Date: 2023-10-31 | * Date: 2023-10-31 | ||
- | * Author: Máté Kocsis kocsismate@php.net | + | * Author: Máté Kocsis |
- | * Status: | + | * Status: |
===== Introduction ===== | ===== Introduction ===== | ||
Line 134: | Line 134: | ||
The rest of the built-in extensions which currently expose resources are the following: | The rest of the built-in extensions which currently expose resources are the following: | ||
- | * **COM** | + | * **COM** |
* **com_dotnet_istream_wrapper** | * **com_dotnet_istream_wrapper** | ||
* **com_dotnet_dispatch_wrapper** | * **com_dotnet_dispatch_wrapper** | ||
- | * **DBA** | + | * **DBA** |
* **dba**: connection resource returned by '' | * **dba**: connection resource returned by '' | ||
* **dba persistent**: | * **dba persistent**: | ||
- | * **ODBC** (implementation: | + | * **ODBC** (implementation: |
* **odbc link**: connection resource returned by '' | * **odbc link**: connection resource returned by '' | ||
* **odbc link persistent**: | * **odbc link persistent**: | ||
* **odbc result**: result resources returned by various '' | * **odbc result**: result resources returned by various '' | ||
- | * **SOAP** | + | * **SOAP** |
* **SOAP SDL**: '' | * **SOAP SDL**: '' | ||
* **SOAP table**: '' | * **SOAP table**: '' | ||
Line 153: | Line 153: | ||
===== Vote ===== | ===== Vote ===== | ||
- | The RFC consists of 5 votes, one for accepting the implementation approach and one for each resource category to decide when it is possible to convert them. Since the majority of the resource migrations in question don't yet have an implementation, | + | The RFC consists of a primary vote for accepting the implementation approach and 4 secondary votes for each resource category to decide when it is possible to convert them. Since the majority of the resource migrations in question don't yet have an implementation, |
==== Implementation ==== | ==== Implementation ==== | ||
- | <doodle title=" | + | <doodle title=" |
* yes | * yes | ||
* no | * no | ||
Line 164: | Line 164: | ||
==== Primary stream resources (stream, persistent stream) ==== | ==== Primary stream resources (stream, persistent stream) ==== | ||
- | <doodle title=" | + | <doodle title=" |
* only in a major version (e.g. PHP 9.0) | * only in a major version (e.g. PHP 9.0) | ||
* in any minor or major version (e.g. PHP 8.4) | * in any minor or major version (e.g. PHP 8.4) | ||
Line 171: | Line 171: | ||
==== Auxiliary stream resources (contexts, filters, brigades, buckets) ==== | ==== Auxiliary stream resources (contexts, filters, brigades, buckets) ==== | ||
- | <doodle title=" | + | <doodle title=" |
* only in a major version (e.g. PHP 9.0) | * only in a major version (e.g. PHP 9.0) | ||
* in any minor or major version (e.g. PHP 8.4) | * in any minor or major version (e.g. PHP 8.4) | ||
Line 178: | Line 178: | ||
==== Process resource ==== | ==== Process resource ==== | ||
- | <doodle title=" | + | <doodle title=" |
* in the next major version (e.g. PHP 9.0) | * in the next major version (e.g. PHP 9.0) | ||
* in the next minor or major version (e.g. PHP 8.4) | * in the next minor or major version (e.g. PHP 8.4) | ||
Line 185: | Line 185: | ||
==== Other resources ==== | ==== Other resources ==== | ||
- | <doodle title=" | + | <doodle title=" |
* only in a major version (e.g. PHP 9.0) | * only in a major version (e.g. PHP 9.0) | ||
* in any minor or major version (e.g. PHP 8.4) | * in any minor or major version (e.g. PHP 8.4) |
rfc/resource_to_object_conversion.1703424228.txt.gz · Last modified: 2023/12/24 13:23 by kocsismate