while($foo < &ReallyComplexFunction($bar)) { doStuff(); }