php: added b flag to construct snippet