Chrome Extension

For loop php

<?php
    for ($i = 0; $i <= 3; $i++) {
        echo "Loop counter is : " . $i;
    }
?>
We are a bunch of lazy programmers so we developed this chrome extension
search code from your favorite search engine
Install Now
Output
Loop counter is : 0
Loop counter is : 1
Loop counter is : 2
Loop counter is : 3
Code snippet shows basis for loop used in PHP. We have declared a variable $i and looping 4 times.
Was this helpful?
0 Comments
Open Code Manager We are hiring