//1.print on console	
        echo "rajomay"; 
        printf("Rajoshree");
   //_____________________________________________________________________________________________________________
   
   //2.Taking input
        $a = readline("Enter No. ");
        echo $a;
   //_____________________________________________________________________________________________________________
       
   //3.Data type
    $a = 127868768767; #int
    $b = 1212.232 ;                     #float
    $c = 't' ;                          #str (php take all char type as string)
    $d = "Rajoshree Tanmay" ;           #str
    $e = array(0,1,2,3,4,5,6,7);                #array
    $f = True  ;                       #bool
    var_dump($a);              //var_dump() is used to know data type
    var_dump($b). var_dump($c). var_dump($d). var_dump($f). var_dump($e);
   //_____________________________________________________________________________________________________________
       
   //4.Type Casting  
    $a = 1;
    $a = (int)$a;
    $b = (float)$a;
    $c = (string)$a;
    $d = (bool)$a;
    $e = (array)$a;
     echo var_dump($a). var_dump($b). var_dump($c). var_dump($d). var_dump($e);
   
   //_____________________________________________________________________________________________________________
   
   //6.if/else
        $a = false;
        if($a){
            echo "yes";
        }
        elseif (!$a) {
            echo "no";
        }
        else{
            echo "NA";
        }
   //_____________________________________________________________________________________________________________
     
   //7.switch case (Note-: cannot pass string case " ")
        switch(true){
            case 1:
                printf("\nnum ");
               
            case "rajomay":
                echo "string ";
               
            case 'a':
                printf("char ");
                break;
               
            default:
                printf("NA ");
        }
   //_____________________________________________________________________________________________________________
   //8.for loops
        for($i=1; $i<=10; $i++){
            echo $i."\n";
        }
   _____________________________________________________________________________________________________________
   //9.while and do-while loop
        $i=44;
        while($i<10){
            echo $i."\n";	
            $i++;
        }
   //--------------------------	
        do{
            echo $i."\n";
            $i+1;	
        }while($i<10);
   //_____________________________________________________________________________________________________________	
   
   //10.function
   function myData(){
       printf("RajoMay Data Loading...");
   }
   function myData1($a){
       return $a*100;
   }
   
       myData();
       printf("%d",myData1(2));
   //_____________________________________________________________________________________________________________