On 30 Jul 2014, at 18:57, Sara Golemon <poll...@php.net> wrote:

> On Wed, Jul 30, 2014 at 10:54 AM, Andrea Faulds <a...@ajf.me> wrote:
>> On 30 Jul 2014, at 18:51, Adam Harvey <ahar...@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.

Sure. In an ideal world, % would return the quotient and %% the remainder, but 
alas it is not so.
--
Andrea Faulds
http://ajf.me/





--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to