The use of phasor measurement units is becoming ubiquitous in modern power system as they provide dynamic monitoring of variables such as voltage and current, and also due to its capability to determine the variable positive sequence magnitude and phase. However, the increasing usage of renewables, DC grids, and power electronic devices may imply in a network environment contaminated with harmonics that might affect the correct estimation of positive sequence phasors values. This paper investigates the performance of a phase-locked loop (PLL)-based phasor measurement algorithm in a voltage and current harmonic polluted environment. PLL systems have been widely used for control of power electronics devices based on pulse-width modulation. There are in the literature several propositions of PLL architectures, and this work evaluates, among some of these possibilities, their adequacy for the aforementioned task. Detailed representation of the network elements involved is considered as well as a digital model for the PLL which can then assess its adequacy for real-time applications.