Re: [PHP] Happy New Year All!
return ThankYou; Oh god I think I blowed it up. :) -Bip On Thu, Dec 31, 2009 at 1:11 AM, paragasu parag...@gmail.com wrote: ?php /** 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: [PHP] Happy New Year All!
Bipper Goes! wrote: return ThankYou; Oh god I think I blowed it up. I prefer: ?php while(date('Y') 2010) ; exit (' Happy New Year'); -- -- Paul http://www.paulscott.za.net http://twitter.com/paulscott56 http://avoir.uwc.ac.za All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal
Re: [PHP] Happy New Year All!
Paul Scott wrote: Bipper Goes! wrote: return ThankYou; Oh god I think I blowed it up. I prefer: ?php while(date('Y') 2010) ; exit (' Happy New Year'); Oh dear... that's terribly inefficient... Here's a better stab: ?php 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: [PHP] Happy New Year All!
On Thu, Dec 31, 2009 at 10:52 AM, Robert Cummings rob...@interjinn.comwrote: Paul Scott wrote: Bipper Goes! wrote: return ThankYou; Oh god I think I blowed it up. I prefer: ?php while(date('Y') 2010) ; exit (' Happy New Year'); Oh dear... that's terribly inefficient... Here's a better stab: ?php 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. ;)
Re: [PHP] Happy New Year All!
Bipper Goes! wrote: On Thu, Dec 31, 2009 at 10:52 AM, Robert Cummings rob...@interjinn.comwrote: Paul Scott wrote: Bipper Goes! wrote: return ThankYou; Oh god I think I blowed it up. I prefer: ?php while(date('Y') 2010) ; exit (' Happy New Year'); Oh dear... that's terribly inefficient... Here's a better stab: ?php 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: [PHP] Happy New Year All!
--=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
[PHP] Happy New Year All!
?php /** 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