Is preceding function calls with the at-sign (@) a standard out-of-the-box option or do I need to enable it in php.ini
?
I am getting the following server error in the error_log file:
PHP Parse error: syntax error, unexpected '@' in /htdocs/www/phpMyAdmin/libraries/common.inc.php on line 467
Here is line 467 in the php script file:
if (@extension_loaded('mbstring') && !empty(@ini_get('mbstring.func_overload'))) {
If it needs to be enabled in php.ini where might that be?
Thanks.
Amended
Here's the code block that throws the error:
/**
* check for errors occurred while loading configuration
* this check is done here after loading language files to present errors in locale
*/
$GLOBALS['PMA_Config']->checkPermissions();
$GLOBALS['PMA_Config']->checkErrors();
/**
* As we try to handle charsets by ourself, mbstring overloads just
* break it, see bug 1063821.
*
* We specifically use empty here as we are looking for anything else than
* empty value or 0.
*/
if (@extension_loaded('mbstring') && !empty(@ini_get('mbstring.func_overload'))) {
PMA_fatalError(
__(
'You have enabled mbstring.func_overload in your PHP '
. 'configuration. This option is incompatible with phpMyAdmin '
. 'and might cause some data to be corrupted!'
)
);
}