Bifunctional fluorescent calix[4]arene chemosensor for both a cation and an anion.