/php-ext-hidefl

Hidef lite function Extension for PHP

Primary LanguageCOtherNOASSERTION

Hidef lite function Extension for PHP

This extension allows hidef lite.

php.ini Option

hidefl.data_path string

  • default: ""
  • change: PHP_INI_SYSTEM

constants data file path.

hidefl.data_extension string

  • default: ".data"
  • change: PHP_INI_SYSTEM

constants data file extension.

hidefl.load_unserialize bool

  • default: 1
  • change: PHP_INI_SYSTEM

data file load to run unserialize.

Function

  • hidefl_fetch — Get constants data
  • hidefl_save — Set constants data

hidefl_fetch — Get constants data

Description

mixed hidefl_fetch ( string $key [ , bool $thaw ] )

Get constants data by simple files.

Pameters

  • key

    Constants data key name.

  • thaw

    Unused.

Return Values

Returns TRUE on success or FALSE on failure.

hidefl_save — Set constants data

Description

bool hidefl_save ( string $key , mixed $value ] )

Set constants data by simple files.

Pameters

  • key

    Constants data key name.

  • valued

    Constants data.

Return Values

Returns TRUE on success or FALSE on failure.

Examples

hidefl_fetch('test');

hidefl_save('test', array('a', 'b'));