Moving to native phploc