Code insight

Many code editors are now smart enough to read your code and understand what you are doing, which means they can prompt you with help. Forgotten the exact ordering of parameters for mysqli_connect()? That's fine, because an editor with code insight will prompt you for them, even telling you which parameter you are currently entering. Don't remember what functions object $foo has? Again, not a problem - code insight will pop up a list of all the functions and variables of each object, and you can just click the one you want.

Having an editor with code insight built in means you spend much less time looking at the manual, or looking at your own files remembering what values a function returns, and the end result is that you spend more time actually programming new features.

 

Want to learn PHP 7?

Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!

If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: Interactive debugging >>

Previous chapter: Online help

Jump to:

 

Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.