Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment Hello World is easy in PHP. (Score 5, Funny) 121

Pfff, "Hello World!" is cake in PHP. They really couldn't make it easier:
<?php
$arrData = array(72,101,108,108,111,32,87,111,114,108,100,33) ;
 
for($i=0; $i<count($arrData); $i++) {
        $char = $arrData[$i];
        $char = fConvertChar($char);
        print $char;
}
 
function fConvertChar($char) {
 
        $char = 72 + 2 * $char / 4 * 2 - (8.32 * 8.65384);
        $char = chr($char);
        return $char;
}
 
?>

Slashdot Top Deals

You scratch my tape, and I'll scratch yours.

Working...