Updating PHP samples