If you are talking about some built-in constants, it could be due to the fact that the command line interface runs under a separate configuration than the Apache SAPI, for instance, so there may be certain built-in constants available in one config but not in the other.