cara mendapatkan hanya ekstensi orginal file di codeIgniter 3

$fileName = $_FILES['images']['name'][$i];
$fileExt = pathinfo($fileName, PATHINFO_EXTENSION);

  

print_r($fileExt);
Gorgeous Gemsbok