1.2.1194. 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.1194.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

Features

tick, declare

Available in

Entreprise Edition, Community Edition, Exakat Cloud