update php with v1.1 function