declare
is used to set an execution directive for a block of code.
The following directives are recognized:
[ticks](<http://php.net/manual/en/control-structures.declare.php#control-structures.declare.ticks>)
[encoding](<http://php.net/manual/en/control-structures.declare.php#control-structures.declare.encoding>)
[strict_types](<http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration.strict>)
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);