on PHP Script for Checking Domain Name Availability in r/PHPphilig26 Oct 2011 Or array dns_get_record ( string $hostname [, int $type = DNS_ANY [, array &$authns [, array &$addtl ]]] ) I'm guessing OP's script didn't use it as it looks very PHP4. Nothing says eww like global $extension; 4 pointsCopy link
on Worth it to rewrite to OO? in r/PHPphilig27 Jul 2010 If you are concerned about making many objects and only using them once or something, make the function static. This will allow you to write something like Thread::getPosts($threadid); and you will not have to instantiate a new Thread object 2 pointsCopy link
on $50 for a code review in r/PHPphilig12 May 2012 Regarding array_merge, If your input array has numerical keys they will be destroyed and replaced with zero-indexed keys. From the manual $array1 = array(); $array2 = array(1 => "data"); $result = array_merge($array1, $array2); Array ( [0] => data ) 1 pointsCopy link
on Would any fellow open source developers want to join a web-based media player project? in r/PHPphilig3 Jul 2011 PHP does have semaphores mind 1 pointsCopy link
on So, you need a typeface ... in r/Designphilig17 Apr 2010 Why doesn't most paths lead to Helvetica?! 0 pointsCopy link
Or
I'm guessing OP's script didn't use it as it looks very PHP4. Nothing says eww like
If you are concerned about making many objects and only using them once or something, make the function static. This will allow you to write something like Thread::getPosts($threadid); and you will not have to instantiate a new Thread object
Regarding array_merge, If your input array has numerical keys they will be destroyed and replaced with zero-indexed keys.
From the manual
PHP does have semaphores mind
Why doesn't most paths lead to Helvetica?!