update example code about php.