In PHP < 5.5.0, empty does not support expressions