If you want to replace all the values that match some condition with a specific value, you can use the array_map() function. <?php $originalArray = [1, 2, 3, 4 ...
確定! 回上一頁