Adding old PHP code.