Archived
This forum has been archived. Please start a new discussion on GitHub.
IcePHP Ice_loadProfile() function returns global variable instead of value
Hi,
Although not neccessarily a bug, it's a bad practice. The Ice_loadProfile(); function for the IcePHP extension returns a global variable $ICE instead of a value.
At the moment I'm just wrapping it wrapping the global behind an object.
PHP 4 has reached end-of-life (including security patches) since August 2008. I'd be good to see this updated.
Any help / thoughts on this would be greatly appreciated.
Richard
Although not neccessarily a bug, it's a bad practice. The Ice_loadProfile(); function for the IcePHP extension returns a global variable $ICE instead of a value.
At the moment I'm just wrapping it wrapping the global behind an object.
PHP 4 has reached end-of-life (including security patches) since August 2008. I'd be good to see this updated.
Any help / thoughts on this would be greatly appreciated.
Richard
0
Comments
-
Hi Richard,
I'm afraid I don't understand the problem. The Ice_loadProfile function always returns null.
Regards,
Mark0