Configuration à l'exécution
Le comportement de ces fonctions est affecté par la configuration dans le fichier php.ini.
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| counter.reset_time | COUNTER_RESET_PER_REQUEST | PHP_INI_ALL | |
| counter.save_path | "" | PHP_INI_ALL | |
| counter.initial_value | "0" | PHP_INI_ALL |
Pour plus de détails sur les modes PHP_INI_*, reportez-vous à Où une directive de configuration peut être modifiée.
-
counter.reset_timeinteger -
counter.reset_time tells "counter" to reset the
counter used by the basic interface. It may be any of the
COUNTER_RESET_*constants (see below). -
counter.save_pathstring - Tells "counter" where to save data that has to persist between invocations of PHP (i.e. any counter that has COUNTER_RESET_NEVER or COUNTER_FLAG_SAVE). A file will be created at this path, which must be readable and writable to whatever user PHP is running as.
-
counter.initial_valueinteger - Sets the initial value of the counter used by the basic interface whenever it is reset.
