more php reduction