rfc:assignment-overloading
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:assignment-overloading [2016/01/04 00:32] – created pollita | rfc:assignment-overloading [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | PHP allows for basic operator overloading for builtin objects. | + | PHP allows for basic operator overloading for builtin objects. |
<?php | <?php | ||
Line 14: | Line 14: | ||
var_dump($h); | var_dump($h); | ||
- | Specifically, | + | Specifically, |
- | In addition, the assignment versions of these operators ( += -= *= /= **= .= ) are supported by executing a normal operation followed by a store. | + | In addition, the assignment versions of these operators ( += -= *= /= %%**%%= .= ) are supported by executing a normal operation followed by a store. |
<?php | <?php |
rfc/assignment-overloading.1451867549.txt.gz · Last modified: 2017/09/22 13:28 (external edit)