PHP-Static Variable

Static Variable program in php: -

<?php
function myTest(){
static $x=100;
echo $x."<br>";
$x++;
}
myTest();
myTest();
myTest();
?>

Comments

Popular posts from this blog

jQuery-Banner

JQUERY-BANNER-FADEIN AND FADEOUT

Static Web site Creating By Using Tables