Join Up!
104886 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previoussintáxis de if..endifTipos de expresionesnext
Last updated: Tue, 29 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | German

sintáxis de while (mientras)

Al igual que para if..endif, la sintáxis de while..endwhile se ha cambiado:

Ejemplo C-7. Migración: vieja sintaxis while..endwhile

while ($more_to_come);
    ...
endwhile;

Ejemplo C-8. Migración: nueva sintáxis while..endwhile

while ($more_to_come):
    ...
endwhile;

Aviso

Si se utiliza la sintáxis vieja de mientras...fin-mientras en PHP 3.0, el resultado es un bucle infinito.

User Contributed Notes
sintáxis de while (mientras)
add a note about notes
There are no user contributed notes for this page.
previoussintáxis de if..endifTipos de expresionesnext
Last updated: Tue, 29 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST