rfc:operator_overloading_gmp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:operator_overloading_gmp [2013/06/08 12:31] – nikic | rfc:operator_overloading_gmp [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Date: 2013-05-12 | * Date: 2013-05-12 | ||
* Author: Nikita Popov < | * Author: Nikita Popov < | ||
- | * Status: | + | * Status: |
* Patch: https:// | * Patch: https:// | ||
- | * Target version: PHP 5.6 (or whatever the next one is) | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 83: | Line 82: | ||
* Unsigned arithmetic and arithmetic on other integral types PHP does not support (e.g. cross platform 64bit integers) | * Unsigned arithmetic and arithmetic on other integral types PHP does not support (e.g. cross platform 64bit integers) | ||
* Vector and matrix calculations | * Vector and matrix calculations | ||
+ | |||
+ | Due to potential pitfalls of misusing operator overloading known from other languages (most notably C++), the use of this new feature should be limited to cases where there are clear definitions to the behavior of all overloaded operators. The application of this feature should be for mathematical use cases only (as noted above), and not ' | ||
==== Technical proposal ==== | ==== Technical proposal ==== | ||
Line 294: | Line 295: | ||
The pull request for this RFC can be found here: https:// | The pull request for this RFC can be found here: https:// | ||
+ | |||
+ | ===== Vote ===== | ||
+ | |||
+ | The vote started on 10.06.2013 and ended on 17.06.2013. Both proposals are accepted. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Internal operator overloading | ||
+ | * GMP changes | ||
+ | * None | ||
+ | </ | ||
===== Previous discussions ===== | ===== Previous discussions ===== | ||
http:// | http:// |
rfc/operator_overloading_gmp.1370694691.txt.gz · Last modified: 2017/09/22 13:28 (external edit)