Avoid having For-loops that use a function call in the test expression (PHP) | CAST Appmarq