echo
statements through your code to check values or using the error log to get the values of variables.MyClass
in your project, the IDE then provides a pop-up window that includes MyClass
as an option as soon as you type the keyword new
. As you use the object of that type, the IDE shows its available methods and instance variables. When you start typing a function call, the IDE helps you by displaying the available arguments. Honestly, this is the No. 1 reason you should use an IDE and not a text editor. This type of code intelligence can save you hours of mistyped class names, method names, and wrong arguments.echo
statements to debug your code versus using an integrated debugger, the purchase price of this IDEs is a no-brainer.