As promised, here is the basics tutorial of using xdebug in action.
As an automation developer, I have learned how to write code in Java. When I am having an issue, one of the nice things that you can do is debug your code, line by line. For the longest I had wished that something like this existed in PHP. I have come to find out that you can actually debug code, like I do in Java. This is such a helpful task because I do not have to waste time using var_dump and such on variables or results. In your apache/php server you need to install and or enable something called Xdebug . I will work on a tutorial on how to use xdebug while writing code in Sublime Text 2. So keep an eye out on my blog and or YouTube channel for this tutorial.
I would like to take an opportunity to show you an example of how to developer a simple php contact page. I will not use css or anything like that for this tutorial. Just quick and dirty using the php mail function. Lets watch a video, explaining the process