#php #eXcript
A instrução "while" possui a mesma estrutura da instrução if, porém, com a instrução while, o bloco será executado enquanto a condição for satisfeita.
x = 0;
while(x != 1000)
{
x++;
echo x;
}
== CURSO DE PHP ==
+ Curso PHP: http://excript.com.br/curso-php.html
+ PlayList: https://www.youtube.com/playlist?list=PLesCEcYj003TrV2MvUOnmVtMdgIp0C4Pd
+ SITE: http://excript.com.br/
+ FACE: http://www.facebook.com/excript
+ PERFIL PÚBLICO: https://goo.gl/4SPRVf
+ E-MAIL: [email protected]
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.