Typescript While Loop Continue Statement In Php