Reputation: 1
I have error with odd values like
PHP Fatal error: Cannot redeclare chkconfig() (previously declared in D\x01:27)
PHP Fatal error: Cannot redeclare chkconfig() (previously declared in (\x93\x03u\xa2\x7f:27)
PHP Fatal error: Cannot redeclare chkconfig() (previously declared in \x98\xe9\xc6t\xa2\x7f:27)
PHP Fatal error: Cannot redeclare chkconfig() (previously declared in Wut\xa2\x7f:27)
PHP Fatal error: Cannot redeclare chkconfig() (previously declared in @.\xf7t\xa2\x7f:27)
but it is not declare in any other place. What means that odd values?
Upvotes: 0
Views: 747
Reputation: 3780
You can just try this:
if (!function_exists('chkconfig')) {
// declare your function
}
So that if it does exist, you won't have to redeclare it anymore.
Upvotes: 2