It looks like the version of xampp is the wrong version for what you need
Open \xampp\php\php.ini file in your text editor and find these lines that are not commented out.
Code:
error_reporting = E_ALL | E_STRICT
The above can be changed by reading the comments for this setting
You can turn this to Off
Code:
display_errors = On
If you make any changes, save the file and restart Apache.
But remember you will not know if your scripts have any php errors.
So if you get unexpected behavior, then turn the above back On again and test your scripts.
XAMPP is by default set up for Developers who obviously need error reporting turned On.