NYCPHP Meetup

NYPHP.org

[nycphp-talk] Top 5 Most Useful PHP Functions?

Keith Richardson keithjr at gmail.com
Fri Nov 12 07:48:30 EST 2004


first is mysql_fetch_assoc, very handy
next is a combonation that I use a lot -
getdate(strtotime($sql_date_variable)); - to turn sql datetime
variables into the date array
print_r of course
in_array
empty (heh)
and if empty doesnt count, html_special_chars


On Wed, 10 Nov 2004 21:52:49 -0500, Jon Baer <jonbaer at jonbaer.net> wrote:
> Hi,
> 
> Kinda lame but, I tried looking for something on web which made light of
> what packages/libraries/functions most people were using on a normal basis
> so .. thought Id start a quick little topic, more like a survey, maybe
> someone would like to compile it and post?  Here goes, pretty self
> explainatory:
> 
> What are the top 5 most *useful* PHP functions to you? (in no order)
> 
> + preg_match_all
> + preg_replace
> + array_unique
> + array_combine
> + (tie) file_get_contents and simplexml_load_string
> 
> - Jon
> 
> _______________________________________________
> New York PHP Talk
> Supporting AMP Technology (Apache/MySQL/PHP)
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.newyorkphp.org
> 


-- 
Keith Richardson
keith at keithjr.net



More information about the talk mailing list