PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
First of all, let the record show I was being sarcastic. PHP does not have friend or virtual functions so clearly OP was asking about something that wasn't PHP.
Now, technically, PHP does have virtual class methods. It does not have the virtual keyword.
By default all class methods are "virtual" in that descendant classes can override them - the exception is methods declared with the final keyword.