Are there any best practices for quoting numerical values in PHP arrays?

When quoting numerical values in PHP arrays, it is best practice to not enclose the numbers in quotes to ensure they are treated as integers or floats rather than strings. This can help prevent unexpected type conversion issues and improve code readability.

// Incorrect way of quoting numerical values in PHP arrays
$array = array("1", "2", "3.14");

// Correct way of defining numerical values in PHP arrays
$array = array(1, 2, 3.14);