sintaxe do while
Assim como com if..endif, a sintaxe do while..endwhile foi alterada também:
Example#1 Migração: sintaxe velha de while..endwhile
while ($more_to_come);
...
endwhile;
Example#2 Migração: nova sintaxe do while..endwhile
while ($more_to_come):
...
endwhile;
Aviso
Se você usar a sintaxe velha de while..endwhile no PHP 3.0, você terá um loop infinito.