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? > I think the utility of > having it baked into the language as an operator is pretty minimal > regardless (I coded a lot of Python for scientific research in a > previous job, and I don't think I ever used //, and you'd think that's > the place where you'd use it). This actually isn’t something I’d expect to see in science. I think it’s more useful in other fields, like any time you wish to divide into rows (%%) and columns(%). -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php