What could be causing the issue of only allowing integer values in a PHP input field after updating to Windows 10?

The issue of only allowing integer values in a PHP input field after updating to Windows 10 could be caused by a change in the server configuration or PHP settings. To solve this issue, you can use the `filter_var()` function with the `FILTER_VALIDATE_INT` filter to validate the input as an integer.

// Validate input field as integer
$input = $_POST['input_field'];

if (filter_var($input, FILTER_VALIDATE_INT)) {
    // Input is a valid integer
    // Proceed with your code here
} else {
    // Input is not a valid integer
    // Handle the error accordingly
}