Lines Matching refs:v
43 foreach ($value as $k => $v) {
44 if (is_string($v)) {
45 $v = strtoupper($v);
48 if (false !== strpos($v, ',')) {
49 $v = explode(',', $v);
52 $v = strtr($v, [':' => '', '-' => '']);
54 } elseif (is_array($v)) {
55 $v = array_map('strtoupper', $v);
58 $newVal[strtoupper($k)] = $v;
158 foreach ($this->getParts() as $k => $v) {
160 $date = new DateTime($this->root, null, $v);
163 $values[strtolower($k)] = intval($v);
165 $values[strtolower($k)] = $v;
256 foreach ($byMonth as $i => $v) {
257 if (!is_numeric($v) || (int) $v < 1 || (int) $v > 12) {
278 foreach ($byWeekNo as $i => $v) {
279 if (!is_numeric($v) || (int) $v < -53 || 0 == (int) $v || (int) $v > 53) {
300 foreach ($byYearDay as $i => $v) {
301 if (!is_numeric($v) || (int) $v < -366 || 0 == (int) $v || (int) $v > 366) {