<?php $value = 'b'; $checkbox_values = ['a' => 'Aaa', 'b' => 'Bbb', 'c' => 'Ccc']; array_walk($checkbox_values, function(&$value, $key) use($value) { var_dump($value); $value = (int)(strval($key) === $value); }); print_r($checkbox_values);
You have javascript disabled. You will not be able to edit any code.
There are `0` results