Class Jyxo_Spl_ArrayUtil
Utilities for working with arrays.
Category:
Jyxo
Package: Jyxo_Spl
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jakub Tománek
Located at Spl/ArrayUtil.php
Package: Jyxo_Spl
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jakub Tománek
Located at Spl/ArrayUtil.php
public static
array
|
|
public static
array
|
#
keymap( Traversable $traversable, Closure $key, Closure $value = null )
Creates an associative array from iterator which doesn't return proper keys. Keys are generated by applying callback $key to the current value. It is also possible to apply another callback directly to the value. Key callback is called BEFORE value callback. |