<?php
    $IsValid = False;
?>













<html>
    <head>
        <title> </title>
    </head>
    <body>
        <?php
        $decimal_var = 50;
        $octal_var = 050;
        $hex_var = 0x50;

        echo "$decimal_var\n";
        echo "$octal_var\n";
        echo "$hex_var"

        ?>
    </body>
</html>










<?php
        echo PHP_INT_SIZE;
        echo PHP_INT_MAX;
?>









<?php
    $a = 1.456; 
    $b = 12e1; 
    $c = 7E-10;
?>











<html>
    <body>
    <?php
        $double_quote = "Hi";
        $single_quote = ' welcome';
        echo $double_quote, $single_quote;
    ?>
    </body>
</html>









<html>
    <body>
        <?php 
	        $int_Array = array(1,2,3);
	        $string_Array = array("one","two","three");
	        $float_Array = array(1.1,2.2,3.3);

	        print_r($int_Array);
	        print_r($string_Array);
	        print_r($float_Array);
        ?>
    </body>
</html>









<?php 

	class MyClass
	{
		public $MyVar = "Test";
	}

	$class = new MyClass;	
?>




















<?php
    # Case 1
    $not_assigned;
    # Case 2
    $assigned_null = NULL;
    # Case 3
    $unset_variable = 1;
    unset($unset_variable);
?>





Posted By  -  Karan Gupta
 
Posted On  -  Saturday, May 11, 2013

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250