Made small changes to PHP for multiple calls.