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
"The uprooting of identity is seen by the noble ones as pleasurable; but this contradicts what the whole world sees." (Snp 3.12)
"To argue with a person who has renounced the use of reason is like administering medicine to the dead" - Thomas Paine