views:

88

answers:

1

Has anyone used apc_define_constants or hidef vs using define. Any true benefits or possible bugs in the latest versions?

apc-define-constants - http://us2.php.net/manual/en/function.apc-define-constants.php

hidef - http://pecl.php.net/package/hidef

A: 

I've used apc_define_constants quite a bit without any trouble - I've never tried hidef because of its 'alpha' status.

TML
But does it provided a measurable performance gain?
David
Not for me, no - but define() was never my bottleneck.
TML