for loop in phph code example Example: php loop statement do { code to be executed } while (condition)