tedd schreef:
> At 2:02 PM +0100 3/24/09, abdulazeez alugo wrote:
>> Hello guys,
>>
>> The list seems boring to me today so I've come up with an idea (you
>> can call it a challenge). What if we all wrote to this thread in PHP
>> codes. on't get the gist yet? well all it means is that, on this
>> thread, all that we should see must be written in PHP codes and it
>> must be meaningful and relevant to any discussion on ground. The
>> challenge starts..... Now!
>>
>>
>>
>> <?php
>>
>> $alugo="Hello guys, anyone up for the challenge?";
>>
>> print $alugo;
>>
>> ?>
>
> Not much of a challenge.
>
> Whenever I'm bored, I read through the php documentation finding
> functions I never knew existed OR get myself lost in OOP -- both do a
> good job of putting my bored ass to sleep. :-)
<?php
class Sperling {
function readManual() { /*
file_get_contents("http://php.net/docs/manual/en/"); */ }
function __sleep() { echo "Zzzzz.\n"; }
};
$tedd = new Sperling;
$tedd->readManual();
file_put_contents("/path/to/tedds/bed", serialize($tedd));
?>
anyways I always figured Rocks[tm] was the first OO language, how much
more 'objecty' can you get than a rock :)
>
> Cheers,
>
> tedd
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php