rfc:phar_stop_autoloading_metadata
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:phar_stop_autoloading_metadata [2020/07/15 00:10] – tandre | rfc:phar_stop_autoloading_metadata [2020/08/04 13:43] (current) – close the vote tandre | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Don't automatically unserialize Phar metadata outside getMetadata() ====== | ====== PHP RFC: Don't automatically unserialize Phar metadata outside getMetadata() ====== | ||
- | * Version: 0.2 | + | * Version: 0.4 |
* Date: 2020-07-07 | * Date: 2020-07-07 | ||
* Author: Tyson Andre < | * Author: Tyson Andre < | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
* Implementation: | * Implementation: | ||
Line 16: | Line 16: | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | Don't unserialize the metadata automatically when a phar is opened by php. Only unserialize the metadata if '' | + | Don't unserialize the metadata automatically when a phar file is opened by php. Make PHP unserialize the metadata |
- | Additionally, | + | Additionally, |
This implements one possible solution for https:// | This implements one possible solution for https:// | ||
Line 34: | Line 34: | ||
===== RFC Impact ===== | ===== RFC Impact ===== | ||
==== To SAPIs ==== | ==== To SAPIs ==== | ||
- | This affects stream wrapper calls such as file_exists(), | + | This affects stream wrapper calls such as '' |
- | Describe the impact to CLI, Development web server, embedded PHP etc. | + | |
- | ==== php.ini Defaults | + | ===== Vote ===== |
- | If there are any php.ini settings then list: | + | |
- | * hardcoded default values: On | + | |
- | * php.ini-development values: On | + | |
- | * php.ini-production values: On | + | |
- | + | ||
- | ===== Proposed Voting Choices | + | |
Yes/No, requiring 2/3 majority to stop automatically unserializing metadata. | Yes/No, requiring 2/3 majority to stop automatically unserializing metadata. | ||
+ | Voting started on 2020-07-21 and ended 2020-08-04. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== References ===== | ===== References ===== | ||
+ | |||
+ | https:// | ||
https:// | https:// | ||
Line 53: | Line 54: | ||
https:// | https:// | ||
- | https:// | + | https:// |
===== Rejected Features ===== | ===== Rejected Features ===== | ||
Line 60: | Line 61: | ||
===== Changelog ===== | ===== Changelog ===== | ||
+ | |||
+ | 0.4: Change from '' | ||
+ | |||
+ | 0.3: Clarify wording, add link to RFC announcement thread. Remove inapplicable ini defaults section. | ||
0.2: Link to implementation. | 0.2: Link to implementation. |
rfc/phar_stop_autoloading_metadata.1594771813.txt.gz · Last modified: 2020/07/15 00:10 by tandre