Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Vehbi Oztomurcuk4,283 Points
Basic Error Handling in PHP track
Code editors such as visual studio code, atom ...etc. are already displays all the errors. what is the difference about this whole process when we already have a detectors.
Jason AndersTreehouse Moderator 145,624 Points
IDEs and most Text Editors will highlight most spelling errors and syntax errors, but none can nor will (for the most part) show you logic errors, misused variables, variables out-of-scope, mislabeled variables, functional errors, programmatic errors, or any other errors that are directly related to the function, scope and use of the app.
From where you are linking this post from, Error Handling is essential especially when taking in user input. You don't receive this input until your app is live, so how could your Text Editor highlight an error for you if it has no idea of the data being used?
A complete explanation does go a bit beyond the scope of the Community, but it should become more clear and evident as you progress through the course.
Hope that helps a bit! :)