NYCPHP Meetup

NYPHP.org

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

csnyder chsnyder at gmail.com
Wed Nov 10 23:21:06 EST 2004


Okay, I'll bite:

1) file_get_contents()  -- could anything be easier?
2) serialize()  -- for storable objects
3) strpos() -- even more important to me than substr()
4) htmlentities() -- speaks unicode
5) print_r() -- one-line debugger

And if I had to pick a control structure it would be foreach. I mean,
does anyone use list() anymore?



More information about the talk mailing list