# Inclusions in PHP

Will the file be included using include when compiling the script – I will surround this include with a condition:

``````if() {
include(file);
}
``````

If the condition is not met, will file be included?

No, it won’t connect. This is a function, not a directive.

will be loaded only when the condition is met

``````<php