#!/usr/bin/php
<?php
// this program represent for md5 funtion in php this writen for cli when given right parameter encrpton code will generate other shows error
print("md5 utilized by sna \n");
print_r($argv);
if(count($argv) > 2){
    die("Usage: md5 \"<THis is long parametert please give right paramaeter>\"\n"); //error shows 
}
print(md5($argv[1]))
?>



<?php
$str = 'apple';

if (md5($str) === '1f3870be274f6c49b3e31a0c6728957f') {
    echo "Would you like a green or red apple?";
}
?>

