Forgot your password?
typodupeerror

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

by JohnBaleshiski (#14205972) Attached to: PHP 5 Recipes
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;
}
 
?>

The reason why worry kills more people than work is that more people worry than work.

Working...