Add pl_flatten to transform arrays containing other arrays into a flat
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 28 Apr 2010 19:40:53 +0000 (21:40 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 28 Apr 2010 19:43:24 +0000 (21:43 +0200)
commit983284ba502852d0d50c9073274d6de3001acab6
tree58fc2fea520c31b5c28564b701cf7ca92fdbab3c
parentded3ae94c0786b4cf7e6c9e4e704b0d97a3a5be7
Add pl_flatten to transform arrays containing other arrays into a flat
array containing only non-array items.

e.g.:
array(array(1), 2) -> array(1, 2)
include/platal.inc.php
ut/arraytest.php [new file with mode: 0644]