updates php syntax to my fork