I added the SORT_NUMERIC to be explicit, anyway :).

----------------------------------------
Michaël Gallego

Tel. : 06-98-82-62-38
mic.gallego@gmail.com





Le 15 nov. 2013 à 11:20, Marc Bennewitz <notifications@github.com> a écrit :

> In library/Zend/EventManager/EventManager.php:
> 
> > +    {
> > +        // Initial value of stop propagation flag should be false
> > +        $event = $event ?: new Event();
> > +        $event->stopPropagation(false);
> > +
> > +        $responses = array();
> > +
> > +        // We cannot use union (+) operator as it merges numeric indexed keys
> > +        $listeners = array_merge_recursive(
> > +            $this->getListeners($eventName),
> > +            $this->getListeners('*'),
> > +            $this->getSharedListeners($eventName),
> > +            $this->getSharedListeners('*')
> > +        );
> > +
> > +        krsort($listeners);
> You are right - I was an a patched PHP branch were I disabled auto conversion of numeric strings on comparison. Sorry!
> 
> —
> Reply to this email directly or view it on GitHub.
>