Add extra result information for php functions