Re: [RFC] intdiv()
| From: | Andrea Faulds | Date: | Thu, 17 Jul 2014 06:17:52 +0000 |
| Subject: | Re: [RFC] intdiv() | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75641@lists.php.net to get a copy of this message | ||
On 17 Jul 2014, at 01:11, Bishop Bettini <bishop@php.net> wrote:
> As another contender, how about:
>
> $x = 242 %/ 7;
> $x %/= 13;
>
> The % reflects the relationship to modulus, while the / reflects the division effect. I think
> %/ looks worse, but I think it seems more apropos.
>
I also quite like this one, and I’d prefer %/ to /%. What are internals's thoughts on this?
Do you like %/ but not %%?
--
Andrea Faulds
http://ajf.me/