Chaitanya Lakshmi
  • About Me
    • Knowledge Blog
    • Linked In
    • Facebook
  • Static
  • PHP
  • Drupal
  • JAVA
  • Learning Tutorials
  • Contact Us
  • About Me
    • Knowledge Blog
    • Linked In
    • Facebook
  • Static
  • PHP
  • Drupal
  • JAVA
  • Learning Tutorials
  • Contact Us

How many times the following loop will be executed?

2/27/2012

0 Comments

 
<?php
for($i=0 ; $i<=3 ; $i++ ) { echo $i; }
?>
  • 2
  • 3
  • 4
  • 0, there is a parse error
  • I don’t know
Answer:
4



0 Comments



Leave a Reply.

    Author

    Write something about yourself. No need to be fancy, just an overview.

    Archives

    February 2012

    Categories

    All
    General
    Krds
    Phponweb

    RSS Feed

Powered by Create your own unique website with customizable templates.