Happy New Year All!

Happy New Year All!

am 31.12.2009 08:11:04 von paragasu


/** this going to be a long wish from Malaysia
* @author paragasu
*/

do { echo 'wish you .. \n'; } (date('Y') < 2010) ;
exit (' Happy New Year');


?>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Happy New Year All!

am 31.12.2009 17:22:43 von bipper.goes

--0016e6d7e4b22ab8cd047c08aa3d
Content-Type: text/plain; charset=ISO-8859-1

return ThankYou;


Oh god I think I blowed it up.

:)

-Bip

On Thu, Dec 31, 2009 at 1:11 AM, paragasu wrote:

> >
> /** this going to be a long wish from Malaysia
> * @author paragasu
> */
>
> do { echo 'wish you .. \n'; } (date('Y') < 2010) ;
> exit (' Happy New Year');
>
>
> ?>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--0016e6d7e4b22ab8cd047c08aa3d--

Re: Happy New Year All!

am 31.12.2009 17:39:07 von Paul Scott

------=neXtPaRt_1262277581
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit


Bipper Goes! wrote:
> return ThankYou;
>
>
> Oh god I think I blowed it up.

I prefer:

while(date('Y') < 2010) ;
exit (' Happy New Year');


--
-- Paul

http://www.paulscott.za.net
http://twitter.com/paulscott56
http://avoir.uwc.ac.za

------=neXtPaRt_1262277581
Content-Type: text/plain;

All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal

Happy New Year

am 31.12.2009 17:46:25 von TedD

Hi gang:

Happy New Year!

May 2010 > 2009.

Cheers,

tedd

--
-------
http://sperling.com http://ancientstones.com http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Happy New Year All!

am 31.12.2009 17:52:20 von Robert Cummings

Paul Scott wrote:
> Bipper Goes! wrote:
>> return ThankYou;
>>
>>
>> Oh god I think I blowed it up.
>
> I prefer:
>
> > while(date('Y') < 2010) ;
> exit (' Happy New Year');


Oh dear... that's terribly inefficient... Here's a better stab:


sleep( strtotime( '2009-12-31 23:59:50' ) - time() );
for( $i = 10; $i >= 0; $i-- )
{
echo $i ? "$i...\n" : "HAPPY NEW YEAR!\n";
sleep( 1 );
}

?>

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Happy New Year All!

am 31.12.2009 18:08:51 von bipper.goes

--0016e6d649562dcd7d047c094fad
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Dec 31, 2009 at 10:52 AM, Robert Cummings wrote:

>
>
> Paul Scott wrote:
>
>> Bipper Goes! wrote:
>>
>>> return ThankYou;
>>>
>>>
>>> Oh god I think I blowed it up.
>>>
>>
>> I prefer:
>>
>> >> while(date('Y') < 2010) ;
>> exit (' Happy New Year');
>>
>
>
> Oh dear... that's terribly inefficient... Here's a better stab:
>
> >
> sleep( strtotime( '2009-12-31 23:59:50' ) - time() );
> for( $i = 10; $i >= 0; $i-- )
> {
> echo $i ? "$i...\n" : "HAPPY NEW YEAR!\n";
> sleep( 1 );
> }
>
> ?>
>
> Cheers,
> Rob.
> --
> http://www.interjinn.com
> Application and Templating Framework for PHP
>

Efficiency, to me, was getting the email out in 15 seconds or less. ;)

--0016e6d649562dcd7d047c094fad--

Re: Happy New Year All!

am 31.12.2009 18:11:59 von Robert Cummings

Bipper Goes! wrote:
> On Thu, Dec 31, 2009 at 10:52 AM, Robert Cummings wrote:
>
>>
>> Paul Scott wrote:
>>
>>> Bipper Goes! wrote:
>>>
>>>> return ThankYou;
>>>>
>>>>
>>>> Oh god I think I blowed it up.
>>>>
>>> I prefer:
>>>
>>> >>> while(date('Y') < 2010) ;
>>> exit (' Happy New Year');
>>>
>>
>> Oh dear... that's terribly inefficient... Here's a better stab:
>>
>> >>
>> sleep( strtotime( '2009-12-31 23:59:50' ) - time() );
>> for( $i = 10; $i >= 0; $i-- )
>> {
>> echo $i ? "$i...\n" : "HAPPY NEW YEAR!\n";
>> sleep( 1 );
>> }
>>
>> ?>
>>
>> Cheers,
>> Rob.
>> --
>> http://www.interjinn.com
>> Application and Templating Framework for PHP
>>
>
> Efficiency, to me, was getting the email out in 15 seconds or less. ;)

Indeed you did nail that one on the head :D





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Happy New Year All!

am 31.12.2009 18:35:33 von Paul Scott

------=neXtPaRt_1262280971
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit


Robert Cummings wrote:
>
> Oh dear... that's terribly inefficient... Here's a better stab:

True, but my design criteria included that it needed to fit into a 140
char tweet too...

--
-- Paul

http://www.paulscott.za.net
http://twitter.com/paulscott56
http://avoir.uwc.ac.za

------=neXtPaRt_1262280971
Content-Type: text/plain;

All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal

Re: Happy New Year

am 31.12.2009 18:52:11 von James Colannino

tedd wrote:

> May 2010 > 2009.

Fortunately, I think that's automatically true by definition :-D

James


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Happy New Year

am 31.12.2009 19:11:05 von Sudheer Satyanarayana

>> May 2010> 2009.
>>
> Fortunately, I think that's automatically true by definition :-D
>
> James
>
Humorous.


--

With warm regards,
Sudheer. S
Tech stuff: http://techchorus.net
Business: http://binaryvibes.co.in


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Happy New Year

am 31.12.2009 19:20:51 von Carlos Medina

tedd schrieb:
> Hi gang:
>
> Happy New Year!
>
> May 2010 > 2009.
>
> Cheers,
>
> tedd
>
Happy new Year,
i wish you exited works, exited drinks, exited chicks and course exited
code :-D

Carlos

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: Happy New Year

am 31.12.2009 19:29:51 von Phpster

On Thu, Dec 31, 2009 at 1:20 PM, Carlos Medina wrote:
> tedd schrieb:
>>
>> Hi gang:
>>
>> Happy New Year!
>>
>> May 2010 > 2009.
>>
>> Cheers,
>>
>> tedd
>>
> Happy new Year,
> i wish you exited works, exited drinks, exited chicks and course exited code
> :-D
>
> Carlos

As long as we all don't exit prematurely. ;-P


--

Bastien

Cat, the other other white meat

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: Happy New Year

am 31.12.2009 19:30:43 von Richard

Hi,

> exited works

Eh? Excited?

--
Richard Heyes
HTML5 canvas graphing: RGraph - www.rgraph.net (updated 19th December
- now with IE support!)
Lots of PHP and Javascript code - http://www.phpguru.org

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: Happy New Year

am 31.12.2009 19:31:51 von bipper.goes

--0016e6d7eb68fc6365047c0a7735
Content-Type: text/plain; charset=ISO-8859-1

"As long as we all don't exit prematurely. ;-P"

They always hate that.

On Thu, Dec 31, 2009 at 12:29 PM, Bastien Koert wrote:

> On Thu, Dec 31, 2009 at 1:20 PM, Carlos Medina
> wrote:
> > tedd schrieb:
> >>
> >> Hi gang:
> >>
> >> Happy New Year!
> >>
> >> May 2010 > 2009.
> >>
> >> Cheers,
> >>
> >> tedd
> >>
> > Happy new Year,
> > i wish you exited works, exited drinks, exited chicks and course exited
> code
> > :-D
> >
> > Carlos
>
> As long as we all don't exit prematurely. ;-P
>
>
> --
>
> Bastien
>
> Cat, the other other white meat
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--0016e6d7eb68fc6365047c0a7735--