<?php
$a = [
(object) ['program_title' => 'Hello – Aujourd’hui']
];
print_r(array_filter($a, function ($i) { return preg_match('~Hello . Aujourd.hui~u', $i->program_title); }));
- Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.5, 7.4.7 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.30, 8.2.0 - 8.2.25, 8.3.0 - 8.3.13
- Array
(
[0] => stdClass Object
(
[program_title] => Hello – Aujourd’hui
)
)
- Output for 7.4.6
- Array
(
[0] => stdClass Object
(
[program_title] => Hello – Aujourd’hui
)
)
_init has set a custom offset: 1584365523, diff.tv_sec=5533090 diff.tv_usec=759992
gettimeofday using offset: 5533090.771355, returning 1584365523.000100
preferences:
83.39 ms | 407 KiB | 5 Q