Improved PWF doc
Updated
Fixed php example