cleaning up a bunch of php warnings that show up in XAMPP on windows