[wp-hackers] PHP one liner

Chris Coggburn chris at coggburn.us
Wed Dec 15 05:34:00 UTC 2004


Kitty wrote:

>On Tue, 2004-12-14 at 04:42, Oliver Schwarz wrote:
>  
>
>>nice code, could also be done with:
>><?php $page = basename ($_SERVER['PHP_SELF']); ?>
>>    
>>
>
>Yep, sure enough. The breadth of the PHP language can be huge, sometimes
>annoyingly so. Don't get me started on the mashup naming conventions.
>  
>
One of the nice things about PHP though is that there are so many 
correct ways to do something in PHP...and no matter which way you go 
there is generally no noticable speed difference. It's a breath of fresh 
air from the 8bit assembly I do at work.

-- 
Christopher Coggburn
http://chris.coggburn.us
http://noderat.com
http://beyonddigital.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: chris.vcf
Type: text/x-vcard
Size: 400 bytes
Desc: not available
Url : /pipermail/hackers_wordpress.org/attachments/20041214/184fed11/chris.vcf


More information about the hackers mailing list