the php extension of smaz