Voting

Please answer this simple SPAM challenge: two plus zero?
(Example: nine)

The Note You're Voting On

Mohammad Hossein Darvishanpour
1 year ago
<?php
function Test_Extention($var1)
{
    if(
$var1 == false)
    {
        throw new
Exception('Invalid !');
    }
}
//end function

try
{
   
Test_Extention(false);
   
printf("%s","Valid");
}

catch(
Exception $e)
{
   
printf("%s","Message : " . $e->getMessage());
}
?>

<< Back to user notes page

To Top