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/09 13:36] – [Applications of operator overloading] zeev | 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 84: | Line 83: | ||
* 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, and their precedence, commutativeity and transitivity are identical to that of the built-in operators in PHP. The application of this feature should be for mathematical use cases only (as noted above), and not ' | + | 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 296: | 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.1370784978.txt.gz · Last modified: 2017/09/22 13:28 (external edit)