Lines Matching refs:v
45 foreach ($value as $k => $v) {
47 if (is_string($v)) {
48 $v = strtoupper($v);
51 if (strpos($v, ',') !== false) {
52 $v = explode(',', $v);
55 $v = strtr($v, [':' => '', '-' => '']);
57 } elseif (is_array($v)) {
58 $v = array_map('strtoupper', $v);
61 $newVal[strtoupper($k)] = $v;
170 foreach ($this->getParts() as $k => $v) {
172 $date = new DateTime($this->root, null, $v);
175 $values[strtolower($k)] = intval($v);
177 $values[strtolower($k)] = $v;
274 foreach ($byMonth as $i => $v) {
275 if (!is_numeric($v) || (int)$v < 1 || (int)$v > 12) {
296 foreach ($byWeekNo as $i => $v) {
297 if (!is_numeric($v) || (int)$v < -53 || (int)$v == 0 || (int)$v > 53) {
318 foreach ($byYearDay as $i => $v) {
319 if (!is_numeric($v) || (int)$v < -366 || (int)$v == 0 || (int)$v > 366) {