The while loops through a block of code when condition is true.
Syntax
while (condition) { // Code to be executed; }
Example
$i; while($i<=10){ echo $i++; }
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.