Fixed syntax, still working on PHP decode