Re: [VOTE][RFC] intdiv()
| From: | Sara Golemon | Date: | Wed, 30 Jul 2014 17:57:49 +0000 |
| Subject: | Re: [VOTE][RFC] intdiv() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76280@lists.php.net to get a copy of this message | ||
On Wed, Jul 30, 2014 at 10:54 AM, Andrea Faulds <ajf@ajf.me> wrote:
> On 30 Jul 2014, at 18:51, Adam Harvey <aharvey@php.net> wrote:
>> -1 explanation: I don't think %% is clear enough
>
> % returns the 2nd part of the integer division, %% returns the 1st. Surely that makes sense?
>
That makes sense in PHP. Probably only in PHP.
-Sara