By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,405 Members | 1,531 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,405 IT Pros & Developers. It's quick & easy.

Choosing the right PHP function for the job

P: n/a
How do I choose/find the function that is right for what I want to do. I
have been using the phpManual which is one of the reasons I came to PHP.

I would like to know how to search for a function only knowing what you want
to achieve with it. Say I want to have an array be stripped of all "&&"
values. How would I find a function or see if one exists based on those
requirements?

Thanks.
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I like using the online version of the docs, since it is always
up-to-date, is easily searchable, and contains some valuable user
comments. The function reference is grouped by category:

http://www.php.net/manual/en/funcref.php

If you click on a particular category (in your example, I'd say 'Array
Functions' is a good place to start) you can quickly look though a list
of available functions and get a quick idea of what each one does, as
well as other useful info:

http://www.php.net/manual/en/ref.array.php

Looking through the list, array_filter looks interesting.

Jul 17 '05 #2

P: n/a
Hehe this is exactly why I came to php from C/C++. No need to go crazy
looking for libraries when you can just do a search on the php doc page.

Thanks.
"ZeldorBlat" <ze********@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
I like using the online version of the docs, since it is always
up-to-date, is easily searchable, and contains some valuable user
comments. The function reference is grouped by category:

http://www.php.net/manual/en/funcref.php

If you click on a particular category (in your example, I'd say 'Array
Functions' is a good place to start) you can quickly look though a list
of available functions and get a quick idea of what each one does, as
well as other useful info:

http://www.php.net/manual/en/ref.array.php

Looking through the list, array_filter looks interesting.

Jul 17 '05 #3

P: n/a
> Hehe this is exactly why I came to php from C/C++. No need to go crazy
looking for libraries when you can just do a search on the php doc page.

Thanks.


It is the same with java.sun
I find it a little bit more helpfull as well.... but ....
I am using PHP as well so... Something bad Java must be had !!!!

Angelos
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.