Added php based visitor pattern edit #2