Simple php converter