chop pw output in php