hidef

Constants for real


Allow definition of user defined constants in simple ini files,
which are then processed like internal constants, without any
of the usual performance penalties.

License: PHP License

This package is not maintained, if you would like to take over please go to this page.

Latest releases

Version Release Download
0.1.13 2012-07-12 hidef-0.1.13.tgz
0.1.12 2012-06-15 hidef-0.1.12.tgz
0.1.11 2011-12-22 hidef-0.1.11.tgz
0.1.10 2011-11-25 hidef-0.1.10.tgz
0.1.9 2011-07-01 hidef-0.1.9.tgz
Show all releases

Changelog

Version Message
0.1.13 - Allow -> access on FrozenArrays ala stdClass
- globally disable hidef for CLI scripts (hidef.enable_cli)
- allow the PHP memory_limit to be be temporarily increased during startup (hidef.memory_limit)
0.1.12 - Fix support on PHP 5.4+
0.1.11 - Fix segfaults and TSRM builds with hidef_wrap
- hidef.per_request_ini to load up .ini files in vhosts
- allow simplified constants in hidef ini files
0.1.10 - Throw exceptions on serialize and do not segfault on unserialize
- hidef_wrap to make dev work easier without restarting apache (hidef_wrap(unserialize(...)) to get a FrozenArray
0.1.9 - Cache the thawed array in the FrozenArray object (fix leak on array_key_exists())
- Free memory only in the parent thread/process to prevent pagefaults on free()
- Trim malloc space before forking to reduce memory hit
Show complete changelog