<?php $input = array(); $i =0; while($i <6) { $input[$i] = $i; echo $input[$i]; $i++; } $result = array_unique($input); print_r($result); ?>
You have javascript disabled. You will not be able to edit any code.