Adding old PHP implementation(s)