PHP: syntax error, unexpected ‘(‘ in C:\xampp\php\php.ini in cmd mode

Maybe error_reporting = E_ALL & ~E_NOTICE uncomments.

Please follow below statement

;error_reporting = E_ALL & ~E_NOTICE