PHP implementation of Pffy idioms