Checking if a constant is defined in PHP

It is possible to use “defined” keyword to check if a constant was defined or not.

it would be a bad thing if a code refers to a constant that had not been defined.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator