<?php function tg($T) { foreach ($T['i'] as $i) { $T['i'] = $i + 1; } $T['i'] = array_unique($T['i']); } $i = array( 'i' => array(1, 1, 3, 5) ); tg($i);
You have javascript disabled. You will not be able to edit any code.