Portfast + bpdufilter (used together) can be enabled globally or at interface level.
Although the first impression is that the only difference is the global or per-interface effect, this is not entirely true and another subtle and important difference is described in this post.