Answers for "check if values in array is true php"

PHP
0

php check if all values in array are equal

$allvalues = array('true', 'true', 'true');
if (count(array_unique($allvalues)) === 1 && end($allvalues) === 'true') {
}
Posted by: Guest on June-09-2020

Code answers related to "check if values in array is true php"

Browse Popular Code Answers by Language