Nibbana is an unconditioned dhamma, and is included in “sabbe dhamma anatta”.
When it's intended to be excluded, you will instead see "sabbe sankhara" instead of "sabbe dhamma". Therefore, "all compounds are devoid of self" would be "sabbe sankhara anatta". Therefore, they are different in meaning and intent. Is the person you quoted suggesting they are synonymous?
(...although interestingly it seems that in the different editions of the Pali Dhammapada there are discrepencies about which ones are used when).
"Do not force others, including children, by any means whatsoever, to adopt your views, whether by authority, threat, money, propaganda, or even education." - Ven. Thich Nhat Hanh
"Whether I were to preach in brief, Sāriputta, or whether I were to preach in detail, Sāriputta, or whether I were to preach both in brief or in detail, Sāriputta, rare are those who understand." (A I 333, Sāriputtasutta)