Original: As a boy he studied philosophy for four years under the Platonist teacher Pamphilus.
Simplified: As a boy he studied philosophy under the Platonist teacher Pamphilus for about four years.