Easy lookup for PHP documentation

Instructional HowTos, posted by users. No questions here please.

Moderators: AmigoJack, helios, bbadmin, Bob Hansen, MudGuard

Post Reply
Hot Pastrami
Posts: 4
Joined: Thu Dec 13, 2007 12:54 am

Easy lookup for PHP documentation

Post by Hot Pastrami »

You can add an External Tool that allows you to easily see the online reference docs for a PHP function name. It's great for when you can't remember the order of arguments for a PHP function.
  • Go to Configure > Preferences
  • Click Tools
  • Add > Program, and browse to the executable for your browser of choice under Program Files (iexplore.exe, firefox.exe, etc)
  • Click on the new tool name in the list to give it a better title, such as "PHP Reference"
  • Click on the new tool in the tree view on the left.
  • Under parameters, paste "http://us.php.net/search.php?show=quick ... n=$SelWord"
  • Click OK.
When you run this tool, it'll open the PHP reference page for the currently selected function name (i.e., the word that is highlighted or has the editing cursor in it).
Alan Bellows
DamnInteresting.com
Managing Editor, Designer, Developer
hillsc
Posts: 35
Joined: Thu Jun 19, 2003 2:00 pm

Post by hillsc »

That's a great tip! Thank you for that...
kskristinesmith
Posts: 1
Joined: Mon Aug 03, 2009 2:57 am

Post by kskristinesmith »

For a complete reference and examples of the built-in functions, please visit our PHP Reference or simply check this website http://www.w3schools.com/PHP/php_functions.asp


Kristine
kAlvaro
Posts: 17
Joined: Mon Apr 28, 2003 7:46 am
Contact:

Re: Easy lookup for PHP documentation

Post by kAlvaro »

Hot Pastrami wrote:You can add an External Tool that allows you to easily see the online reference docs for a PHP function name.
Great tip. The downloadable docs in *.chm format do not include the user notes, which often add great value.
Post Reply