rfc:implicit-float-int-deprecate
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:implicit-float-int-deprecate [2021/03/04 12:54] – Creation girgias | rfc:implicit-float-int-deprecate [2021/05/31 14:49] (current) – Mark as implemented girgias | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2021-02-03 | * Date: 2021-02-03 | ||
* Author: George Peter Banyard, < | * Author: George Peter Banyard, < | ||
- | * Status: | + | * Status: |
+ | * Discussion: https:// | ||
* First Published at: http:// | * First Published at: http:// | ||
* GitHub mirror: https:// | * GitHub mirror: https:// | ||
Line 26: | Line 27: | ||
If the conversion happens from a '' | If the conversion happens from a '' | ||
- | > Implicit conversion to int from non-compatible float | + | > Implicit conversion to int from non-compatible float %f |
If the conversion happens from a '' | If the conversion happens from a '' | ||
- | > Implicit conversion to int from non-compatible float-string | + | > Implicit conversion to int from non-compatible float-string |
- | Raise these warnings | + | Where '' |
+ | |||
+ | Raise these deprecation diagnostics | ||
===== Rationale ===== | ===== Rationale ===== | ||
Line 39: | Line 42: | ||
The lack of possibility of knowing if data loss arises necessitates the use of the '' | The lack of possibility of knowing if data loss arises necessitates the use of the '' | ||
- | an '' | + | an '' |
The use of a '' | The use of a '' | ||
to perform a conversion, this proposal would generalize this aspect to other areas of PHP. | to perform a conversion, this proposal would generalize this aspect to other areas of PHP. | ||
- | Finally, attempting to pass a '' | + | Finally, attempting to pass a '' |
===== Implementation notes ===== | ===== Implementation notes ===== | ||
Line 103: | Line 106: | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted. | As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
Line 108: | Line 116: | ||
===== Implementation ===== | ===== Implementation ===== | ||
- | After the project is implemented, | + | Implemented in https:// |
- | | + | |
- | - a link to the git commit(s) | + | |
- | - a link to the PHP manual entry for the feature | + | |
- | - a link to the language specification section (if any) | + | |
===== References ===== | ===== References ===== | ||
+ | Initial mailing list discussion: < | ||
+ | Revised mailing list discussion: < |
rfc/implicit-float-int-deprecate.1614862441.txt.gz · Last modified: 2021/03/04 12:54 by girgias