replace($text); if (!empty($text_tokens)) { return $text_tokens; } } function test3() { global $test; $x = 5; if ($x == 5) { $x = 123; } return $x; } function test4() { return new Foo(function () { $metatags = []; foreach ([1, 2] as $u) { $metatags[] = $u; } return $metatags; }); }