example how to override a complete PHP function added