Is there a command that helps to understand what the functio

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Betty_S
Forum Newbie
Posts: 20
Joined: Tue Dec 05, 2006 3:40 am

Is there a command that helps to understand what the functio

Post by Betty_S »

Hi

Is there a command that helps to understand what the function does?

Let's say that I know only the name of the function,
Who can I know what argument that function expects and what it does?

Thanks
:)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Same answer to your other thread applies here too.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

But there's no command to get an explaination. The documentation is not included in the php code.
If it's a function of the php core or an extension take a look at the online manual, http://www.php.net/manual/
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

If they are functions/methods you built, at the time of building it is a good idea to document/annotate the function. A useful tool for documentation is PhpDoc which can help build a "website" of documentation.
Post Reply