declare is used to set an execution directive for a block of code.

The following directives are recognized:

For instance, set ticks to 1:

declare(ticks=1);

To enable strict type mode, the declare statement is used with the strict_types declaration:

declare(strict_types=1);