Re: [VOTE][RFC] intdiv()
| From: | Kris Craig | Date: | Wed, 30 Jul 2014 18:37:02 +0000 |
| Subject: | Re: [VOTE][RFC] intdiv() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76283@lists.php.net to get a copy of this message | ||
On Wed, Jul 30, 2014 at 11:01 AM, Peter Lind <peter.e.lind@gmail.com> wrote:
> On 30 July 2014 19:57, Sara Golemon <pollita@php.net> wrote:
>
> > 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.
> >
> >
> Not even in PHP.
>
>
> --
> <hype>
> WWW: plphp.dk / plind.dk
> CV: careers.stackoverflow.com/peterlind
> LinkedIn: plind
> Twitter: kafe15
> </hype>
>
This is why I still think we'd be better off using %/ or /%.
--Kris