php中已知有数组
$message = [{state:true,tip:'提示语1'},{state:false,tip:'提示语2'}]
需要判断$message中的state任意一个是true时执行下一步操作,全部为false不执行.
求php的写法,感谢