updated usage php example code