Re: [VOTE] array_part()

From: Date: Tue, 29 May 2012 00:28:05 +0000
Subject: Re: [VOTE] array_part()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-60684@lists.php.net to get a copy of this message
Hi! > I've opened the array_part() vote: > > https://wiki.php.net/rfc/array_part#vote > > The vote asks whether the branch at > https://github.com/cataphract/php-src/tree/array_part should be > merged. > This implementation has been tested and has 100% code coverage on the > reachable code. This looks very complicated. It might be that some use cases require this level of complexity, but I can't remember a case where I would need it. That alone does not disqualify the proposal, but I personally very much like having something like array_column() rather than whole array slicing engine with it's own declarative language inside. The engine might be fine, but I imagine many users would want just something like array_column() - so at least it'd be nice to have both. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#60684) next »