The latter is more portable, while the former only works on systems where /bin/bash exists (or is symlinked appropriately).
Many thanks to Bob Droog for organizing a test account and extensive testing.