Enter the name of array you want to validate, indexes of array and fill the conditions then hit the generate button. Copy and paste the generated function in your PHP code in order to use it. Please consider to not enter $ character in the array name. Global variables can be used too.