Check if values in array are in another array using Laravel Validation

后端 未结 0 1635
别跟我提以往
别跟我提以往 2021-01-28 11:04

I want to check if all the values of my input, an array, are in another array. For example:

$my_arr = [\'item1\', \'item2\', \'item3\', \'item4\'];

Validator::ma         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题