1.2.1204. Ticks Usage

Usage of declare() with ticks. When ticks are declared, a related handler must be registered with register_tick_function().

<?php

// Setting ticks value
declare(ticks = 2);

?>

See also declare.

1.2.1204.1. Connex PHP features

1.2.1204.1.1. Specs

Short name

Php/DeclareTicks

Rulesets

All, Appinfo, CE, Preferences

Exakat since

0.12.1

PHP Version

All

Severity

Time To Fix

Precision

Very high

Available in

Entreprise Edition, Community Edition, Exakat Cloud