Bug #6964 apc_load_constants() weird behaviour in CLI
| From: | Brian Shire | Date: | Sun, 18 Feb 2007 03:11:38 +0000 |
| Subject: | Bug #6964 apc_load_constants() weird behaviour in CLI | ||
| Groups: | php.apc.dev | ||
| Request: | Send a blank email to php-apc-dev+get-55@lists.php.net to get a copy of this message | ||
Should we just update the documentation on this one to reflect reality? Seems like that's the best bet, as it'll stay BC.
http://pecl.php.net/bugs/bug.php?id=6964&edit=1
Bug #6964 apc_load_constants() weird behaviour in CLI
[2006-11-07 21:15 UTC] gopalv
Both apc_define_constants and apc_load_constants calls
zend_register_constant.
The standard examples (in http://php.net/apc_define_constants ) seem to
suggest that both can be called together, but in reality calling them
both generates this valid warning.
Need to decide whether the documentation or code is to be fixed.
-Brian Shire
shire@facebook.com
shire@php.net